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

Automation Rule failing to update custom field

I have an automation rule to update a custom field based on the issue type.  I have several issue types that work correctly but one that does not, even though it is set up exactly the same as the others.

The error I get in the audit log is: The following issues did not match the condition:

It only seems to fail for the last issue type on the list of automatic updates.

Any ideas?

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2022

@David Kott please provide more context to your problem: What type is that custom field? Is it the same with the other? How do you set up the value? Did you place a log component to check the value of the condition?

The custom field is just a Select List (single choice).  It is the same field that is used for the others.

How would I place a log component?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2022

With smart values and by reading this:

https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/

Basically you want to search why your automation failed to pass that check. So log the value of the field you are checking. Run the rule and then check the audit log.

Crosscheck the value you are getting from the log, with the actual value of the condition. 

I'm not in the Cloud.  Will it still work on Data Center?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2022

Yup!

Ok.  I added the following:

Custom Field is {{issue.customfield_13006}}

and ran the rule.  Still didn't work and didn't get any notification in the audit log.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2022

@David Kott without seeing the rule I can't help you any more. Can't tell where you've placed the log.. Most likely the rule didn't went that far to run the specific component. Try adding the log before the condition.

Capture1.PNGCapture2.PNG

 

Here is the rule and the log.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2022

Hold on... you have a condition about the issue type being equal to "SDA CCR". And your rule doesn't pass this condition, meaning that the issue which trigger this rule, is not of that specific issue type.

Capture 3.PNG

This is what I get when I create the issue.  Issue type SDA CCR.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2022

Reindexing the project?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2022
  • Few more things I need from you:
  • A complete screenshot of your rule with all component details.
  • A confirmation that PMOCCMTEST-73 is the screenshot you provided above.
  • Check all your issue types and let me know if you have any duplication of SDA CCR.

The project ended up not being used so it is a moot point.  Thanks for you help, though.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events