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
Community Members
Community Events
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:

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

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...

1,758 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you