You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.