Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,947
Community Members
 
Community Events
184
Community Groups

Updating transitions using PUT method of the issue

Hi all,

I am working on doing an integration with Jira using the V2 and V3 API's, one of the problems I am facing is that I can not update the current status using the PUT API even though it is documented.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put

Sample Payload
https://cloudenrich.atlassian.net/rest/api/2/issue/{IssueKey}/


{
 "update": {
 "comment": [
 {
 "add": {
 "body": "Bug has been fixed."
 }
 }
 ]
 },
 "transition": {
 "id": "5"
 }
}
 
I can see the comment gets added but the transition doesn't change.
If I use the following API it works for transition only

https://cloudenrich.atlassian.net/rest/api/2/issue/{IssueKey}/transitions/


"transition": {
 "id": "5"
 }

Can someone please help to identify if it is a bug or known behavior?
If it is a bug, please let me know how to file the same?

Regards
Rajesh.

1 comment

Hi Rajesh,

For me also when I try to update with comment , can't update. But with only transition id, it's working fine same as like you.

I'm also interested to know how to add the comment and other fields along with transition. 

image.png

 

Regards,

Praveen

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events