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

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

Suggest an answer

Log in or Sign up to answer