Forums

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

I need help setting up an automation in Jira

Loubna Dabbab
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 8, 2019

We have a complicated termination process and we are in the process of having Jira email the on-call person at 4 PM whenever it is the end date for an employee. I have set the trigger "Scheduled" so it runs every day at 4.10 PM

1- The first condition is to look for the termination tickets that are due on the same day.

2- The 2nd condition is to tell the system to send a message out if no comments are added to my ticket by the Service Desk team. (There are few tasks we have to do manually before another script runs and disable the account) if no comment is added by us meaning we have not done our part. 

We can not rely on the status of the ticket because the workflow in our environment is different ad the starts won't change until the account is already disabled.

Can someone please assist?

 

E84bm_1.jpg

1 answer

0 votes
Scott Harwood
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.
May 8, 2019

Hi,

 

You should be able to achieve this by simply using a scheduled trigger, followed by a compare condition and, send email action.

 

In your scheduled trigger:

  • Select "run a JQL search and pass results to subsequent conditions and actions" radio button.
  • Move the JQL your using in the screenshot above into the JQL field of the scheduled trigger.
  • Uncheck the checkbox "Only include issues that have changed since the last time this rule executed" 

In the compare conditon:

{{issue.comments.body}}

 

In your send email action:

keep what you have.

 

Hope that helps.

Thanks,

Scott

Suggest an answer

Log in or Sign up to answer