I'm getting HTTPError IssueType: Issue type is required

Mont August 13, 2022

Hello, I am currently receiving the error: HTTPError: issuetype: issue type is required

 

However, I have this following code which I believe follows the standards.

 

jira_response = jira_client.create_issue(
    fields= {
      "project": {
      "id": "test project
     "summary": 'test",
     "description": 'Test',
     "issueType": {
       "name": "Task"
     }
     })

Is there something I'm doing wrong?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Mont August 13, 2022

Looks like issuetype is case sensitive. Instead of issueType it should be issuetype.

Suggest an answer

Log in or Sign up to answer