Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Jira Transition issue using postman

Hi Everyone,

I have treid performing the Transition issue using postman.

If I am just passing the Issue id or key as path param and transition id in request payload then the API is working.

For example

request payload for Transition issue API

{"transition":{"id":"11"}}

this case is working fine.

but If I am trying to pass fields as well then I am getiing an error.

for example: requets payload for Transition issue API

{"transition":{"id":"11"},"fields":{"summary":"testSummary"}}

then I am getting an error.

{
"errorMessages": [],
"errors": {
"summary": "Field 'summary' cannot be set. It is not on the appropriate screen, or unknown."
}
}

 

 

Can some please let me know why so?

Is transtion issue just need only one fields in request payload i.e transition id ? 

 

Please let me know.

1 answer

Hello, Apparently your api call sends a new value for the summary field.
If this field is not editable, that is, it is not in the edit or transition screen or the user does not have edit permissions, it will throw you that error.

You can exempt these validations using the QUERY PARAMETERS

overrideScreenSecurity and overrideEditableFlag in the url

I have gone through the API doc again and found the get Transition API tells about the fields that can be updateable during do transition API operation.

 

I have made a call to API

 https://<domain>.atlassian.net/rest/api/3/issue/DEMO-3/transitions?expand=transitions.fields&transitionId=11

but getting the below result.

{
"expand": "transitions",
"transitions": [
{
"id": "11",
"name": "Backlog",
"to": {
"self": "https://devbcone.atlassian.net/rest/api/3/status/10003",
"description": "",
"iconUrl": "https://devbcone.atlassian.net/",
"name": "Backlog",
"id": "10003",
"statusCategory": {
"self": "https://devbcone.atlassian.net/rest/api/3/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"hasScreen": false,
"isGlobal": true,
"isInitial": false,
"isAvailable": true,
"isConditional": false,
"fields": {},
"isLooped": false
}
]
}

 

 

 

 

Fields are coming null.

 

Can someone please let me know why so?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

244 views 2 1
Read article

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