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

jmwe conditional execution on custom checkbox = checked

I want to execute a post function, if the custom field named "Backlog" (type = checkboxes, ID = 10901, search template = multi select searcher) is checked. The custom field has just one option named "create issue in backlog". Can someone please help me in setting up a correct condition? Thank you very much!


My workflow creates new issues in TODO status by default. Some issues should not get part of the production pipeline immediately - they should be created in status BACKLOG. I want to provide a simple checkbox in my create issue screen, which - when selected - will transition the new issue to status BACKLOG. 

1 answer

1 accepted

Hi Jochen,

Assuming you are using JIRA Cloud and have the JIRA Misc Workflow Extensions (JMWE) add-on installed.

  1. Edit your workflow and find the 'Create' transition. Add a post-function...


  2. Select "Transition current issue (JMWE add-on)" and click 'Add'...

  3. Set it up with Transition = "Backlog", and check the "Run this post-function only if a condition is verified" box.
  4. In Condition, put the following script:

    {% if issue.fields["Backlog"] | last | field("value") == "Create issue in backlog" %}

    So it should look like:


  5. After you have added this, use the arrows to move it down to number 2 in the list, after "Creates the issue originally":


This should work based on the following assumptions:

  • Your checkbox custom field is called "Backlog".
  • Your checkbox only has one option that can be checked, and it is called "Create issue in backlog".
  • The transition you need to execute to get from TODO to the BACKLOG status is called "Backlog".

Youn might need to tweak the values to match your set up exactly.

Hope this helps.


@Sam HallHi! I was just wondering, how would you go about selections for multiple checkboxes? Where the post-transition function will do different things depending on which boxes are checked. 

Suggest an answer

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

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,751 views 8 2
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