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

Want to control workflow transition based on custom field value (e.g. Checkboxes)

I want to control workflow transition (status to be moved) based on custom field value (whether checked or unchecked on Checkboxes). e.g. There are transitions from "Open" -> "In Progress" and from "Open" -> Resolved" and checkboxes (e.g. User Agreement). If "User Agreement" checkbox is checked, want to move from "Open" -> "Resolved". If unchecked, want to move "Open" -> "In Progress". In post function of a transition (Start Progress ("Open" -> "In Progress")), how can I configure Groovy script to realize this request? Please let me know Groovy script precisely. or, if there is another solution, please let me know it as well.

1 answer

1 vote
Thomas Schlegel Community Leader Jun 08, 2017


you don't need workflow post functions but workflow conditions. 

Add two transitions:

  • open -> resolved
  • open -> in progress

Add a workflow condition to both transitions:


In this workflow condition check for the status of your user agreement checkbox, so that only one of these two transitions is shown to the user.

Hi Tomas,

Thank you for your prompt reply. It works fine.


Thomas Schlegel Community Leader Jun 08, 2017

You're welcome :-)

Suggest an answer

Log in or Sign up to answer

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