Flag an issue when due date approaches

Bojana May 24, 2024

Hello everyone!

I need help with creating automation when due date for the issue is approaching. I set due date, and I need to automatically flag the task 10 days before it.

In the example below, I need this task to be automatically flagged on 5th June.
Screenshot_7.jpg

Thank you!

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2024

Hi Bojana,

Have you started the automation rule at all? If not, please do that and post what you have. If you have, go ahead and share a screenshot of it so we can help. 

Bojana May 24, 2024

Hello John. 
No I haven't, that is where I need help.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 25, 2024

Create an automation rule based on a Scheduled trigger. Have it run once a day - maybe early in the morning 3 am or 4 am or 5 am or something like that. 

Add a JQL for the trigger that looks like: project = ABC and "Due Date" = startOfDay()

Click the verify to make sure it shows at least a valid issue for testing purposes. Be sure to un-click the box for only get issues that have changed. You need to see all whether they have changed or not. 

Then add an action for Edit Issue. Select the Flagged field. Select the value of Impediment. 

Bojana May 29, 2024

Thank you John! I managed to create the automation rule I needed with your help!

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 29, 2024

Great! Glad to hear. 

Mohammed Ansaar July 8, 2024

@John Funk  i did the same as you suggested but it does not work it says 

Incompatible components (1)

Some of your selected components may not be compatible with others.

Mohammed Ansaar July 8, 2024

jira issue.jpg

Bill Sheboy
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.
July 8, 2024

Hi @Mohammed Ansaar -- Welcome to the Atlassian Community!

That new error message can be a bit confusing...what it indicates in this case is the rule uses actions which need issues but the trigger did not supply any issues.

Please check your Scheduled Trigger as it appears to be missing the JQL to supply the issues.

Kind regards,
Bill

Mohammed Ansaar July 8, 2024

I tried it many times with many ways. Could you please write me the rule. I am trying to automate the flag of the issues on the basis of due date. As the due date pass the task should be flagged 

Bill Sheboy
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.
July 8, 2024

Did you check if the Scheduled Trigger has JQL?

If it does not, that is the cause.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events