The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Component Match for Parent in Related Issue Condition

tletz24
June 3, 2021

Hello, I am trying to check to see if the parent of an issue matches a given component match condition.

Related issues:

Parent

Condition:

Matches Specified JQL

Matching JQL: 

(component in componentMatch("X") OR component in componentMatch("Y"))

 I cannot seem to pass this condition, could anyone offer any help?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 3, 2021

Hi @tletz24 

Just to confirm, you are trying to use the componentMatch() function from the ScriptRunner addon in your automation rule condition.  Is that correct?

If you try that JQL stand-alone (outside of an automation rule), does it work as you expect?

Best regards,

Bill