Our team is trying to create a JIRA built-in test case management tool. So we created two issue types called Test Run and Test cases.
We have also created a new field called Test category where you can select multi-values from a dropdown list.
We wanted to create an automation rule where if the Test category field is updated by a user for the Test Run, it should link all Test cases having the same value.
Sample:
User updates the Test category field of QA-1 with issue type "Test Run" with the values Twist.
Automation rule should link issues TC-1, TC-2, TC-3 with issue type "Test cases" to QA-1 as TC-1, TC-2, TC-3 all have values "Twist" in their Test category field.
Here's a sample flow but with hard-coded values:
`{{#jql}}issuetype = “Test case” and “Test category” = Twist{{/jql}}`
