Set a field value based on date/time/day condition

Allen Chun October 7, 2018

Is there a way I schedule to send an email at a given date (date field). Is there a . build in feature or addon that I can use? Basically, I'm already using Jira Automation https://marketplace.atlassian.com/apps/1215460/automation-for-jira

but unfortunately, I cannot use the webhook action because our Jira is installed on our premise and we cannot call external url. 

 

Thanks in advance.

2 answers

1 accepted

1 vote
Answer accepted
Lars Schankin October 7, 2018

Hi Allen,

i think automation for jira can already solve your problem.

Try to create a rule with the "Scheduled" trigger and set a fixed rate of 1 Day.

(you can also build a cron-expression for your needs)

In this trigger you have to define a JQL condition as well (datefield <=now() for example).

 

Your following rule action could be a comment to the issue or the "send email" action.

But I am not sure if the "send email" action will work on your system if you are not able to call external urls.

 

I hope I was able to help you :)

Best Regards

Lars

Allen Chun October 8, 2018

Hi @Lars Schankin Thanks for answering. it worked!

0 votes
Alexey Matveev
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.
October 7, 2018

Helllo,

I am not sure about the Jira automation add-on, but you could do it with the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation

You could create a SIL script, which sends a email. You can send a email from a SIL script with the SendEmail method:

https://confluence.cprime.io/display/SIL/sendEmail

Then you can schedule this script with the RunJobByCron method:

https://confluence.cprime.io/display/SIL/runJobByCron

Suggest an answer

Log in or Sign up to answer