Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Auto approve using scriptrunner or automation for jira

Mohamed Eltaweel May 7, 2020

Hi ,

We need to auto approve the approval requests if  "approval due date"  passed  ("Approval Due Date" < startOfDay())

How it can be implemented using automation fr jira or scriptrunner?

Thanks

2 answers

1 vote
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 7, 2020

Hi Mohamed - You should be able to use a Scheduled component using Automation for Jira that will run based on your time schedule to execute a query and then perform actions. 

Go here: https://support.atlassian.com/jira-software-cloud/docs/automation-triggers/

And then search for Scheduled. 

0 votes
Mohamed Benziane
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 7, 2020

Hi @Mohamed Eltaweel 

In Jira service desk you can use automation.

You can follow theses instructions here, you just need to adjust the jql to match your requirement.

Hope this helps

Mohamed Eltaweel May 7, 2020

Thank you Mohamed,

I already implemented it using the service desk Automation but the issue is :

If yesterday an approval request was sent and the condition was not valid, it will not be executed. Today, the ticket is still waiting for approval and the condition is valid, will jira execute the automation rule?  I believe it will not be executed, isnot it?

I am not sure if Automation for Jira can be used or not?

 

Regards

Suggest an answer

Log in or Sign up to answer