The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hey folks, have most of an automation figured out but can't figure out this last part and I'm hoping to get help.
I'm trying to make an automation that triggers when a specific label is added to an issue. This automation would wait one year and then send an email (basically asking us to revisit this issue in a year).
I've read that you can use smart values such as {{now.plusYears(1)}} to do this but I can't figure out where I'm meant to put this, and which element I should apply it to.
I've included an arrow to where I think this step would go, any help would be amazing!
Hi @Luke Gartland - I don't think a label would be the right approach to this. You would need something like "label added after n" which isn't an available option for queries. I would recommend instead leveraging a custom date field and then executing a schedule trigger that runs daily querying for issues where your custom date field is greater than 1 year.
We currently don't support the ability to delay a rule execution. We have an open feature request for this: https://codebarrel.atlassian.net/browse/AUT-330
Even with the above feature I'm not sure if we could add a delay for up to a year. Are there any alternative ways to run this rule?
For example could you use a schedule trigger and a lookup issues action? The JQL in the lookup action could be "updated <= -52w AND labels = Something". This would find all the issues with the label that haven't been updated in 1 year (any issues with any updated in less than a year would be excluded).
Hope that helps.
Thanks,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.