Forums

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

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 Champion
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 Champion
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