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!
Background:
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.
Hi Jochen,
Assuming you are using JIRA Cloud and have the JIRA Misc Workflow Extensions (JMWE) add-on installed.
In Condition, put the following script:
{% if issue.fields["Backlog"] | last | field("value") == "Create issue in backlog" %} true {%endif%}
So it should look like:
This should work based on the following assumptions:
Youn might need to tweak the values to match your set up exactly.
Hope this helps.
Sam
For future reference, theres is some info about accessing user created custom fields on the Innovalog Documentation and Support site.
In particular, the bit about accessing checkboxes is here: https://innovalog.atlassian.net/wiki/display/JMWEC/User+created+custom+fields#Usercreatedcustomfields-Checkboxes/Multi-selectlist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.