Am experiencing the same issue with null pointer exception, its inconsistent in creating the issues in Jira . Work Around: Curl command works fine in create issue in Jira , make sure how your about your mandatory Jira fields and add them to txt file . curl D -u username:password -X POST --data-binary "@/<path to TXT file>/abc.txt" -H "Content-Type: application/json" https://*<JIRA_BASEURL>*/rest/api/2/issue/ { "fields": { "project": { "key": "abc" } , "summary": "Sample Test ticket from Jenkins.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype": { "name": "Task" } , "customfield_10002": { "id": "1" } , "components":[\{"name":"Jenkins"}], "assignee" : { "name" : "abc" } } } {{}} |