Forums

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

How to Extract Current Day in Jira for example:- Monday

mohammed aamer khan February 17, 2022

I am a Jira Cloud user. I would like to Send Automated mails to assignee of tickets on particular days. How can I achieve it ?
 
Scenario:

I want to send mails to the Assignee of ticket on Monday and Wednesday. If Monday or Wednesday comes then automatically a mail should be sent to Assignee. How to know today is Monday so that Mail can be sent ?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M
Community Champion
February 17, 2022

@mohammed aamer khan

Use the below Automation rule for your project to send emails to Assignees

Send Email.png

Thanks,
Pramodh

Pramodh M
Community Champion
February 17, 2022

@mohammed aamer khan 

FYI You Could Use JQL as 

project = project-key 

to send the emails as well to update the assignees

Select assignees in the Send email section

Let me know if you have any queries

Thanks

mohammed aamer khan February 17, 2022

@Pramodh M 

Thanks for responding,

Here the catch is I will store values in a custom field such as Monday, Tuesday etc.
Based on that custom field value the mail should be sent.

If Custom field value is Monday and current day is also Monday then Mail should be sent to Assignee.

The Custom field value differs in Issues. Suppose in Issue-1 value is Monday and Wednesday, Where as in Issue-2 it can be Tuesday and Thursday.

 

Thanks,

Aamer

Pramodh M
Community Champion
February 17, 2022

This is bit complex 😄

May be Scriptrunner is appropriate here to send the mail's checking the value of custom field

mohammed aamer khan February 18, 2022

@Pramodh M 

Can you share any related script that could help me in solving this problem.

Pramodh M
Community Champion
February 18, 2022

Hi @mohammed aamer khan 

Please create a new question with the explanation for Monday and Wednesday Scenario being included in Issue 

mohammed aamer khan February 18, 2022

Hi @Pramodh M 

The below rule you shared on another ticket is working fine. Thanks for the Help. 

their is some problem i am facing in accessing that question so accepting answer here.

Answer.png

 

Regards,

Aamer

Suggest an answer

Log in or Sign up to answer