Forums

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

Workflow dependency on custom field of a different issue type

Nancy Noyes August 2, 2023

I have a review process where two workflows progress dependently on some information for their respective issue types (in some instances the transitions are automatic).  I'm looking for a post function capability that searches a related issue's custom field value and will allow the workflow to progress through one transition or the other based on that custom field's value. The problem is, I only want a single issue type out of all the related issues in order to perform the search.  I don't want to include the other related issues in the condition.  So it would be a condition where it searches the project, searches the related issues, searches the issue types in those related issues, then searches several custom field values.  Any help is greatly appreciated!

1 answer

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2023

Hello, Good day. Post function only has limited options.

 

Screenshot 2023-08-03 at 11.35.06 AM.png

We can explore the possibility with automation rule. Please update the field that need to be searched on related issue after an issue is moved to specific status.

Nancy Noyes August 7, 2023

Thank you for your response, Mohanraj!  Unfortunately, the need is not as simple as using the available post function capabilities that Jira provides out of the box.  It looks like I need a Groovy script as either a condition or post function in one workflow to search another workflow.  The search must yield a particular issue type as well as particular field values for identified custom fields in the search.  Once the search collects the resulting issues that match the search conditions, the workflow performing the search can determine which transition will take place.  As a reminder, the workflow performing the transition is conditional on the search results of the other workflow and its issues.

Suggest an answer

Log in or Sign up to answer