Forums

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

Hello i want to create automation when issue stayi in progress 2 days and more include only bd

Hayk Tadevosyan
Contributor
August 5, 2024

 

Hello i want to create automation when issue stay in in progress status 2 days and more task will be commented But day calcualtion will be included only business days can i show you 2 examples

1.I got this using the article When issue transitoned to In Progress in Thursday in Saturday it will be commented but now diff business days make sure that the comment is not written on Saturday and Sunday, but written on Monday ​
2. it will nedd for me,when issue transitioned to in progress in Friday Saturday and Sunday excluded and Monday is second day in third day it will be commented (Tuesday)

1 answer

0 votes
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.
August 5, 2024

Hi @Hayk Tadevosyan 

You could create an automation rule with a scheduled trigger, gathering issues which do not have your comment yet, and then use the date diff() function to check the number of elapsed business days, such as between {{now}} and {{issue.updated}} https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-difference---

That will be an approximation, as there may have been other issue changes which refreshed the value of updated.  For a more accurate result, a custom field could be set with another rule whenever an issue transitions status, and then use that field in comparisons.

 

I recommend trying to create your rule, and if you run into challenges, post images of your complete rule, the audit log details showing the rule execution, and explain what is not working as expected.

To get you started on creating your rule, please refer to these documentation and example sources:

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events