Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Due Date

Mohamad Abou El Niaj
January 23, 2026

Hi there ,

How i can add automation to allow the following :

the label that had been automatically assigned to a card when a due date is overdue will be removed when the due date is marked as complete ?

 

regards 

 

1 answer

0 votes
Artem Taranenko
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 Champions.
January 23, 2026

My initial thoughts are:

- two automations: one for adding label, one for removing

- think about the scope of this automation. it sounds like the most suitable trigger is a scheduled daily run. You will need a JQL for that to look at tickets that are in to-do and in-progress status groups. You may want to tighten it to look at a specific issue type or a space if needed

- your jql should look at due date vs today

- your jql should exclude already overdue items

- add 'Overdue' label to whatever is returned by jql

- consider adding a comment like 'Issue is now overdue'

- second automation should be triggered when transitioning to a 'Done' status group and remove the 'Overdue' label

Consider that if you ever want to report on Overdue tickets, the easiest way would be to look for that label, and therefore you might want to consider keeping it.

Here's the proposed jql based on the above. I would consider adding issue types or spaces if that matters:

statusCategory NOT IN (Done) and duedate < startOfDay() and labels NOT IN (Overdue)

1st automation:
- Scheduled trigger executing daily before opening hours (maybe after midnight)
- IF Condition - JQL based using jql above
- THEN - Edit Issue - Labels: Choose ADD/REMOVE and specify 'Overdue' in the Add section

2nd automation if you decide not keep the label after resolving the ticket:
- Trigger on 'Work Item Transitioned' to whatever your Done status is, could me multiple depending on how many issue types your JQL grabs
- IF Condition - JQL labels IN (Overdue)
- THEN - Edit Issue - Labels: Choose ADD/REMOVE and specify 'Overdue' in the Remove section

Mohamad Abou El Niaj
January 23, 2026

Thanks Artem for the detailed answer . I will try it and shall let you know if i faced any challenges .

Best regards 

Artem Taranenko
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 Champions.
January 23, 2026

my apologies, I realized this is a Trello question and not a jira question! My answer was for Jira

Mohamad Abou El Niaj
January 23, 2026

No worries , thanks again .

Suggest an answer

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

Atlassian Community Events