Hello Team,
I am trying to create Issue using provided API in JIRA documentation but it doesn't seems to be working.
Though I have made minimum payload but used to get error as:
Hi @Amit Saxena ,
welcome to the Atlassian community!
I think that you are passing wrong fields to the REST api. Take a llok to the following guide https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/
In particular, "parent" param should be used just if you need to create a subtask and parent should contain the parent issue key.
The correct params should be the following:
{ "fields": { "project": { "key": "TEST" }, "summary": "REST ye merry gentlemen.", "description": "Creating of an issue using project keys and issue type names using the REST API", "issuetype": { "name": "Bug" } } }
Hope this helps,
Fabio
Thanks Fabio.
I was following https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-post
Can see the key mismatch.
http://hostname.com/rest/api/2/field/customfield_10300/option where I was trying to add option items for custom single select field but getting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Amit Saxena ,
it seems that there are no Rest api for this https://jira.atlassian.com/browse/JRASERVER-36112
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.