I am using jira python to create issues through their REST api, but in the "fields" dictionary for the "project" key's dictionary, I am running into an issue when I try using "id" or "name" as keys, but it works with the "key" key.
So, this works:
'project': {'key': 'ORION'}
But, when I try using the other keys provided in the jira-python documentation such as:
'project': {'name': 'ORION-777'}
or
'project': {'id': 777}
or
'project': {'id': '777'}
It does not work. I am getting an error that says:
response text =
{
"errorMessages": [],
"errors": {
"project": "project is required"
}
}
I want to specify the id so that I don't keep creating issues for the same bug over and over. Any guidance is welcome. Thanks!