Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Leader Jan 03, 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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you