Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,377
Community Members
 
Community Events
176
Community Groups

Automation to send email 1 year after a label is applied

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!Automation_-_JIRA.png

2 answers

1 vote

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.

0 votes
John Atlassian Team May 21, 2022

Hi @Luke Gartland 

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events