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

An automation rule has started to fail after 2 years

Hello everybody!

Does anyone have any idea why one of my automation rules has started to fail (audit log says "Some errors")? It has been used for over two years without any problem.

AutomRule 2023-09-25.png

The problem started this morning and I haven't done any configurations in a while.

I went through the audit log and chose one story (without an epic), that triggered the rule last week without action and without any problem, and changed it's status to "Open" and then to "In progress" and this time the rule failed. Why? :)

Thanks!!

7 answers

2 accepted

0 votes
Answer accepted
Bill Sheboy
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.
Sep 25, 2023

Hi @Åse 

I agree with other posters this symptom may be related to the epic field changes.  The earliest posts about those changes indicated Atlassian was going to auto-magically update rules in customers sites.  However I wonder if there is some problem in the the over-loading of the parent field for epics in the context of automation rules.

So a couple possible suggestions (in addition to letting Atlassian Support know about this):

  • brute force
    • Change the branch type from Epic (Parent) to JQL to explicitly control the branch behavior, like this:
      • key = {{triggerIssue.parent.key}} AND issueType = Epic
  • assume the rule is glitched and replace it
    • Re-create the rule from scratch, exactly as it is now, disabling the existing rule
    • The new rule may be implemented differently, behind the scenes, since we are now after the epic field changes went live.  (I suppose this could be confirmed by exporting both rules and comparing their JSON.)
    • And...re-creating a misbehaving rule can help in other circumstances as rules which have been edited too many times can occasionally get bent/broken

Kind regards,
Bill

@Bill Sheboy Thanks for your suggestions - I will start with number two I think :). It's about 8 am here in Sweden and I got the first notification mail while writing this.

So grateful for this community as I'm the only admin in our instance and have difficulties finding time to catch up with all features/changing coming up

Like Bill Sheboy likes this

@joel charlebois Thanks, I haven't seen that. Of course, I realize now :), my problems are connected to these changes around epic-link/parent-link. Thanks again for your help.

Hello again!
I have had a chat with Atlassian support and after some tests of the automation rule we found out that disabling / enabling solved the problem. 

Bill Sheboy
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.
Sep 26, 2023

Thanks, @Åse 

That seems to suggest that the underlying implementation of that branch type changed after those changes for epic fields went live.  Good to know!

Hi Ase,

 

May be sometimes there is a changes from Atlassian side.

 

It is best if you raise a support ticket to Atlassian.

 

Thanks,

Armitha.

Yes, I think so too. Thanks for your help!

Hi Ase,

 

The error is due to condition mismatch, will you please check the issue which is mentioned in error log SKL-12263 whether this issue matching condition or not which you mentioned in Automatioin.

 

Thanks,

Armitha.

The issue is a bug (SKL-12263) and it doesn't belong to an Epic.

The thing is that the rule has worked fine for two years, without any changes from my side (and I'm the only admin), until this morning.

The rule has handled (triggered) all issue types with or without an epic link. 

The only reason I can see now is that something has change within Atlassian. 

Hi Ase,

 

If it possible, will you please attach the error screenshot. So that will understand more about your error.

 

Thanks,

Armitha.

Hi Armitha!

Here is a screenshot, as you can see there is a lot of errors today and it all started this morning after two years of running without any errors at all.

Autom.Rules 2023-09-25 151242.png

0 votes
Geethanjali Katagani
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.
Sep 25, 2023

Hi Ase,

If you try, your trigger story has a different parent issue type or else this automation will occur even if there is no parent issue.

In your case ,i think the automation has failed because there is no parent(Epic) issue.

let me know if you have any questions.

Thanks,

Geethanjali

Hi, the story that triggered the rule today, like last week, has no parent. True.

But, the difference between today and last week is that the automation rule failed today.

It's kind of weird as this rule has been active for two years without any changes and without any errors. 

Suggest an answer

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

Atlassian Community Events