Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a query based on value in Issue's parent's fields

Thomas Hardin
Contributor
February 19, 2018

I am working with an issue type that requires the creation of secondary issues (sub tasks) where field values of a custom filed in the parent would dictate the issues being created.

 

I am using JWME for Jira Server, specifically the Create/Clone Issue post function, but I cannot seem to get the condition statement to return a true response and create the ticket as needed.

My custom field is multiple select field with the following options:

  • Debrief from Clearance
  • Debrief from Accesses
  • Disable or Return Badge
  • Disable Classified IS Account
  • Change Combinations
  • Return Classified Material
  • Return COMSEC Equipment

I have one post function for each option (If there is a more practical way to build this, I'm all ears.)

 

Each post function, will trigger if the field value matches a specific selection. 

 

Example: If the custom field has "Disable Classified IS Account" selected, create the Disable Classified IS Account issue. 

Unfortunately, when I test this, I get a Result Value of false.

Condition Example.PNG

Any help is greatly appreciated.

 

And if there is a more systematic approach to creating linked issues based on a custom field value, please let me know.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events