Hello there,
I've set up the following automation :
This is working well. The problem is that the automation adds the "xxx" label to issues while their parent EPIC doesn't have any "xxx" label. And I don't understand why.
Thanks for your help.
William
Hello @William Pénet
Welcome to the Atlassian community.
Can you provide a screen image of your actual rule? I think there is something wrong with the logic of your branch, but I need to see how you have actually constructed the rule.
Here is an alternate implementation:
When: an issue is created or updated
IF: that issue has a parent
THEN: Use Lookup Issues to execute a JQL to find the issue's parent ensuring it is an Epic and it has the specified lable "XXX"
IF: The Lookup found exactly one matching issue (the trigger issue's parent is an Epic and has the specified label)
THEN: Add the label to the trigger issue.
Hi @William Pénet -- Welcome to the Atlassian Community!
Yes, and...to Trudy's suggestions:
When combining any other trigger condition with Issue Created, I recommend always adding the Re-fetch Issue action immediately after the trigger (as you show in your original question). This will help prevent any racetrack errors with issue creation triggering before the rule gets the issue data.
Back to you scenario: what do you want to happen to the child issues when:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Elise Vernier ,
you can try the following Automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This rule does not match the requirement that label "XXX" be added to the child issues only if it is already on the parent Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello William,
Maybe you can try a different automation rule:
You can do the same with the trigger "Issue created".
Hope I help,
Best regards,
Elise
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.