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,558,022
Community Members
 
Community Events
184
Community Groups

Any alternatives to a really complex automation rule that executes all the time?

Hi Atlassian Community!

Looking for any alternative ways to solve this problem we have with an automation.

 

BACKGROUND

We were previously on Jira premium plan but downgraded to standard.   With standard + our JSM standard we get a total of 1000 multi-project / global automation executions regardless of whether those executions were successful.

We have 2 business critical automations as well as all our disaster recovery backups running, and we are always over this 1000 executions.   

 

PROBLEM

Because the automation rule starts at the top with the trigger which you cannot filter as far as I'm aware -- my trigger is when an issue transitions to particular statuses.   The problem is:   I only care about issues in certain projects and not across all of Jira.  The trigger unfortunately looks at every project and every issue transitioning to my specified statuses.   We have a LOT of projects and issues which means this automation rule runs all the time.  

I have worked with Atlassian Support several times to figure out how to optimize this rule.   It focuses on issues linked from a single project to another 13.

 

RULE  

In a nutshell the rule is looking at:

  • bug issues in Project A that are linked using a specific link type across another 13 projects.   These are considered our parent/source/original issue.
  • When these issues are found, we close Project A's child/duplicate issue
  • We update Project A's resolution value to match the parent issue's resolution value
  • We make custom comments based on the resolution value

 

tse1.png

tse2.png

 

 

OTHER THINGS I'VE TRIED

I have also looked at workflow transition actions like conditions, post functions, etc.   It doesn't look like any of them will do the trick.

 

Any feedback you can provide would be really appreciated.   Thanks so much!

1 answer

1 accepted

0 votes
Answer accepted
Najm Polaris
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.
Mar 23, 2023

Hi @Gail

If you are the Jira admin you can create global automation and select the scope for multiple projects as necessary without having it run through all projects. 

download (10).png

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