The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Next-get Project: Cannot edit task that has no Epic through API

kofidahmed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2022

Screenshot from 2022-01-03 09-48-11.png

 

When I try to edit a task without epic in jira Next-gen software project I get this 500 error message. What's going on please?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Pramodh M
Community Champion
January 3, 2022

Hi @kofidahmed 

I'm able to edit the Summary of Next-gen Project Issue with below API

curl --request PUT \
--url "https://your-site.atlassian.net//rest/api/3/issue/KCP-9" \
--user 'email:key' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "update": { "summary": [ { "set": "Bug in API" } ] } }'

Even with Custom Fields

curl --request PUT \
--url "https://your-site.atlassian.net//rest/api/3/issue/KCP-9" \
--user 'email:key' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "update": { "summary": [ { "set": "Good in API" } ] },
"fields": { "customfield_10071": 10 } }'

API.png

If you could send me your API call, we could troubleshoot it. Let me know if you still facing the issue.

Thanks,
Pramodh