Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make an automation rule trigger in a time period?

Hi all!

I want to create an automation rule that triggers when a new change ticket is created between Tuesday 9pm and Wednesday 10am.

Could someone advise me on what conditions I need to use to achieve this please?

Many thanks!

1 answer

1 accepted

1 vote
Answer accepted

Hello @Aaron Monilal

Welcome to Atlassian Community!

It's possible to create scheduled automation using Project automation. The option, in this case, would be to use CRON expressions to run it on specific days.

On the Automation, select When: Scheduled and select the Advanced option.

It would be something like this:

Screen Shot 2020-11-30 at 15.03.33.png

For more details, please check the documentation below:

There are some websites that create CRON expressions as well:

Hope this helps!

Regards,
Angélica

Hi Angélica,

Thanks a lot for your response! I did see this when you replied and made the rule - but other things got in the way since then so didn't have much time to test. 

Below are the two rules I made using CRON expressions, but I just wanted to clarify one thing. Does scheduled mean that during these times it will just edit all tickets with issue type = change to have that label OR does it mean any tickets created in this time will have this rule applied?

Thanks!

  cron1.PNGcron2.PNG

Hi Aaron,

It depends on the automation setting.

On the Schedule, there is an option called "Only include issues that have changed since the last time this rule executed". Marking this option, the rule will exclude issues that were changed the last time it was executed. 

Unchecking this option, the automation will run for all issues, even the ones that were changed the last time the rule was executed.

Screen Shot 2020-12-22 at 10.34.50.png

Like Aaron Monilal likes this

Hi Angélica,

Happy new year!

So I have that option ticket, yet it does not work. I made another rule to run in this hour (* 0-59 14-15 ? * TUE) then made a new change ticket to no luck. 

I wonder if maybe my requirement may be too complex for out of the box Jira Service Desk functionality?

Thanks for your continued help Angélica, I really appreciate it!

Like Angélica Luz likes this

Hi Angélica,

I got it working in the end - hoorah!

I just changed this: issuetype = "[System] Change"

Thanks for your help! 

Like Angélica Luz likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

637 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you