Why I receive this message Jira RESTApi error response

Ben Steele September 18, 2022

I am trying to create a Jira POST in order to create a JIRA ticket. However, I receive this mesage as a response from Postman.

{
    "errorMessages": [],
    "errors": {
        "project": "project is required"
    }
}

And my Body is like:

{   
    "fields": {
       "project":
       {
          "key": "TEST"
       },
       "summary": "First attemp from Postman",
       "description": "Creating of an issue using IDs for projects and issue types using the REST API",
       "issuetype":
       {
          "name": "Bug"
       }
   }
}

Please there is any chance to fix this issue inside my Custom Lithium Ion Battery Pack Manufacturer?

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 18, 2022

@Ben Steele I think it's project "id" and not "key".

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 18, 2022

Suggest an answer

Log in or Sign up to answer