Forums

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

Jira automation: Change assignee when created date is after hours

Jerome_Mark_Wee
Contributor
May 27, 2018

I am creating a rule on our Jira-servicedesk that when the issue is created after business hours. change the assignee to the after hours support.

 

And if possible, send an email to the assignee every 30 minutes when no actions has been done. Can anyone help me with this please?

2 answers

1 vote
Gabriel Senna
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2018

Hi Jerome,

The native JIRA automation tool, doesn't have this much of features yet.

However, there is an free add-on, called Automation Lite for JIRA, that allows you to create multiple automations to be executed, once an specific action occurs.

I recommend you to take a look at it and test, even because it's free to.

https://marketplace.atlassian.com/apps/1215670/automation-lite-for-jira-cloud?hosting=cloud&tab=overview

Jerome_Mark_Wee
Contributor
May 30, 2018

Hi Gabriel,

 

Thank you for your suggestion. I already have automation lite for Jira. I should've been clear about my question.

 

I'm asking if this would be my JQL query to get what I want?

 

created > startOfDay("+18h")

 

When an issue is created after 6:00pm do this..

Like Alisha Taubner likes this
0 votes
Jessie
Contributor
June 26, 2019

Jerome, did you ever find a solution to this? Looking for a JQL function to edit based on business hours also. 

Jerome_Mark_Wee
Contributor
June 26, 2019

Hi Jessie,

If you want to edit the ticket that was raised after/during business hours  then yes

What I did is used a trigger "When: Issue created" then add an If condition

created > startOfDay("+17h") OR created > startOfDay() AND created < startOfDay("+9h")

Then add an action if the condition is met.

 

Hope that helps

Like # people like this
Jessie
Contributor
June 26, 2019

Thank you! Everything looks good so far, I just need to test it after hours :) Thank you so much for the help. 

Like Jerome_Mark_Wee likes this
Brian Spears
Contributor
October 21, 2019

I am having a heck of a time with this and could use some assistance. I am trying to create a rule based off afterhours time and am struggling. 

Here is the rule in lame terms:

If an issue is created and it matches these two conditions:

1) issue matches: summary ~ "VM from"    (has "VM from" in the subject line)

2) issue matches: ???????   (afterhours, which is Friday5PM-Monday7AM & M-F 5PM-7AM)

 

If conditions match, email ticket information to (an external email address) 

Stop

 

I cannot figure out the JQL for issue match #2 and I cannot figure out how to email the ticket information (attachments) to an external address?

 

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events