Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error Create issue - Specify a valid project Id or Key (Postman)

S June 2, 2021

Hi,

I'm getting below error... But I have specified the Project key.

I have tried different version by replacing Key with Id but still same error message...

What am I missing... any help is highly appreciated.

 

I'm using postman to Create issue on Jira project

https://xxxx.atlassian.net/rest/api/3/issue/

 

{    "errorMessages": [],    "errors": {        "project": "Specify a valid project ID or key"    }}

 

{    "update": {},    "fields": {        "summary""Test",        "parent": {            "key""FX"        },        "description""ingTest",        "issuetype": {            "id""10035"        }    }}

 

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 2, 2021

Hi,

You need to pass the key of the parent issue, this should look like that:

"ABC-123"

S June 2, 2021

Thanks @Mohamed Benziane 

I'm looking to create a brand new issue...

 

What is parent issue? do you mean project key or project name?

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2021

Are you trying to create a subtask ? If no you can remove the parent field from you're json

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events