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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Issue Status and Category incorrect in Post Function (Script Runner) Edited

I have a workflow where I am transitioning a linked parent item when the outgoing children collectively move to the next "Category" of status values.

The issue status is alway set to the value it had BEFORE I selected to transition the state. For example, when an issue transition (Start Work) from To Do to In Progress, the post function script sees the issue in To Do.  I am attempting to refresh the the issue using issueManager.getIssueObject(issue.key) at the start of the post function. 

Do I need to force the transition first?


1 answer

0 votes

You cannot initiate a transition inside a transition of the current issue.

The status of the issue will not change until the transition has finished, which happens after your post function executes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,047 views 8 28
Join discussion

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