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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,821
Community Members
 
Community Events
184
Community Groups

Help with automation

Ernestas Nikiforovas
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 21, 2023

Hello,

Need help with my automation. Have configured SLA calendar: sla cal.PNG

Created automation:

sla rule.PNG

Theoretically this automation should send emails if issue was created  after business hours, however:

rule applied.PNG

So anyone have any ideas why my automation does not work correctly?

 

1 answer

1 vote
Karim ABO HASHISH
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2023

hi @Ernestas Nikiforovas 

Welcome to the community.

To make it Simple, Each SLA Corresponds to a customfield. in order to achieve your goal please follow the below steps.

  1. You need first to get the customfield id that is mapped to your out of busines hours SLA. you can achieve that using JIRA REST APIs
    https://your-site-name.atlassian.net/rest/api/latest/issue/Putyourissuekey

    You should find it as below

    SRYdhb8f2Y.png
  2. For The Automation Rule Condition, please use the advanced compare function to check if {{issue.customfield_putyourfieldidhere.ongoingCycle.withinCalendarHours}} is true.

    NkWGf2y2kg.png
  3. Publish and Test your Rule.

Good Luck and let me know how it went for you.

Cheers,

Karim

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events