Hello community,
How could I create an automation rule where the trigger is based on which is the name of a previously created issue.
In other words, I want to execute a rule only when a specific story (XX) is created so I can include some sub-tasks under it. This story is created weekly, so I need this rule to be executed each time a story with name XX is created.
Any help will be highly appreciated!
I recommend trying the Issue Created trigger, following that immediately with a condition test on the summary. The rule will trigger more often but it will not continue processing if it does not match your condition.
Kind regards,
Bill
Hi @Bill Sheboy ,
Indeed! I have used that trigger and it works by including an 'If" based on summary field.
I still have one additional query maybe you could help me with.
As an story is being created every week under an already existing epic, after some months I will end up with 20 stories named the same way. Would be possible to include in the rule anything that adds a prefix (or something similar) so I can differentiate one weekly issue from the previous one. So then if the story is called "Weekly analysis" I will end up with something like:
W1 Weekly analysis
W2 Weekly analysis
W3 Weekly analysis
W4 Weekly analysis
......
Let me know if there is a way of having something like that in Jira.
Thanks in advance!
Alvaro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that is possible using the format() function for date fields. Please look here to learn more about that:
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ,
But can this be applied in the Summary field of an issue created with an scheduled trigger?
I have the feeling we are talking about different things. I could use the current date to specify the week of the year (or week inside a month), so this will differentiate each story from the others. But how could I include that "differentiator" in the summary field of each story with my automation rule?
Thanks in advance for your help!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not believe you can do that in the scheduled trigger's JQL; specifically, I do not believe that JQL can be dynamic.
Instead I was suggesting to allow the rule to fire more often than needed and then use an advanced compare condition to limit what gets processed, such as by your timeframe/week information in the issue summary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess that I should use some kind of JQL query to detect that specifi story, but I currently struggle to write it properly.
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.