I've got an automation that when an issue is created and its parent has LABEL XY, then the child issue receives LABEL XY.
Problem is, when I create an issue that doesn't have a parent, it's still adding LABEL XY.
Anyone know how I can check first if there's a parent issue assigned before it triggers?
Thanks
{{issue.parent}} IS NOT {{Empty}}
Hi @timothy_higgs_extern -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
Checking if the created work item has a parent may be done with a condition. And, there is a new automation feature which allows adding conditions to triggers. I recommend not using that yet has it have problems / potential defects. Instead, please try this:
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.
I may be oversimplifying this, but don't you just need to add another condition where issue type = sub-task?
Thoughts?
Jonathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply Jonathan.
The problem was more when I would create an Epic that hadn't yet been assigned to an Initiative - it was adding the label even though there was no parent issue to check first and see if the parent issue had the label.
I fixed it though.
I needed to add a {{issue.parent}} IS NOT {{Empty}}
That seems to have done it. 👍
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.