I would like to create an automation for when a story is tagged with a certain epic link, then a certain component is automatically added. I know this is close, but the automation still isn't working.
Can anyone give me some guidance on this?
Hi @Alyssa White and welcome to the community!
I'd recommend something like this:
Component IN (Test)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Segall follow up question- do the components need to have the same name as the epic link I am trying to tag?
For example, I am trying to take this rule across my whole project for different epic links/multiple components-
When a story is tagged with the epic test123, then add components test1 and test345
I guess I'm having a hard time understanding what aspect of the rule is tied to the 'Epic Link' name since in my previous example they both had the name 'test'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure I understand. The rule condition is looking at the triggered issue's Epic to validate attached component(s) and if it returns true then applies whatever components you've defined to the trigger issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Segall Is "Epic Link" still an option in the trigger of "Field value changed" for automation in Cloud?
I read somewhere there is an initiative to merge Epic Link and Parent Link into "Parent", but I can only find "Parent Link" in "Field value changed" trigger, and this trigger does not get triggered when Epic link is updated. Is there any way around this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Khai Shaun Ng - Unfortunately, Epic Link is not an option for Field Value Changed. Instead, you'd need to do something like this to kick off the rule which is going to be a more noisy rule:
{{changelog.Epic Link.fromString}}
Does Not Equal
{{changelog.Epic Link.toString}}
As stated, this is noisy, because the rule will trigger every time the issue has any update, but will only proceed if the Epic Link was changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Segall Thanks for the hint, I thought about this too but I think this comes with performance cost.
However, yesterday I tried changing an Epic of tickets with an automation rule using "Parent Link" in "Field Value Changed" trigger, it somehow worked, can you check if it is also the case for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ooh! Very interesting. Confirmed this works for me as well and I tested in a Free environment to prove out that this is not only available to Premium.
I love it when I learn new things here. Thanks for sharing! This is so much more efficient.
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.