Transition issues automation based on date

Patrick Costello December 30, 2024

Hello.  For our business, when a partner exits we typically know in advance.  I want to set a date in an Exit Date field, then have an automation transition all outstanding issues to a completed status when that day hits.  I would like to do this to prevent agents from working those issues after our contract ends with the partner.
Is this possible?

There will be Epic issues and Child issues that need to be changed.

2 answers

2 accepted

4 votes
Answer accepted
Camilo Galleguillos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 30, 2024

Hi, @Patrick Costello

Yes, what you describe is possible by setting-up a scheduled automation to run every day and checking via JQL if the current date is greater than the field's date. It would look something like this:

Screenshot_23.png

Here are more details on scheduled automation:
https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/

One important consideration here is the format in which the date is stored in your Exit Date field. More information on comparing dates:
https://support.atlassian.com/automation/kb/comparing-issue-dates-in-jira-automation/

Hope this information is helpful.

cgr-sr-badge

Camilo Galleguillos

Sr. Technical Consultant

ServiceRocket
camilo.galleguillos@servicerocket.com
Santiago, Chile

Patrick Costello December 30, 2024

That is helpful, thank you.
If the automation runs once a day, is it just one automation? Does it add up all the issues it transitioned and count them? or does it count for every issue it checks? (We have about 70K issues)

I just don't want to run out of my limited amount of automations

0 votes
Answer accepted
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2025

Hi @Patrick Costello ,

Quick answer regarding the following:

If the automation runs once a day, is it just one automation? Does it add up all the issues it transitioned and count them? or does it count for every issue it checks? (We have about 70K issues)

Short answer is yes - even if your rule performs actions on multiple issues, it's still counted as one rule execution.

However, a note is that automation rules have specific service limits. In this specific case, going through 70k issues and performing actions on each will most likely take more than 70 executions as searching/actions performed within one rule can be done up to 1000 issues.

Recommended way to avoid this is to change the automation rule scope - whether by setting the scope in rule details, or just by adjusting filters (JQL) used within triggers, branches or actions.

Cheers and happy new year,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events