Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Smart values in automation rule no longer working

Joris Huisman November 7, 2024

We have some automation rules that are triggered upon branch creation, using the smart value {{branch.repository.name}} we have some condition logic.

All the rules worked previously, but recently, this smart value has stopped working. When I check it, I see that it is no longer supported (unavailable smart values). Please see the attached screenshot.

 

unsupported_smartvalues.PNG

1 answer

0 votes
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.
November 7, 2024

Hi @Joris Huisman -- Welcome to the Atlassian Community!

The message does not indicate the smart value is not supported.  What is means is for the current context in the rule, the smart value is not available.

The branch-related smart values are only available with the branch-related, rule triggers:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--branch--

Kind regards,
Bill

Joris Huisman November 7, 2024

Hi Bill,

 

Thank you for your response.

This rule is triggered by branch creation, so it should give me the branch smartvalues. As I mentioned before, it has been working consistently for the past years, but it recently stopped functioning. I haven't made any updates to this rule. I have added a printscreen of an empty project, as you can see the smart values are unavailable on a branch creation trigger.

 

Kind regards,

Joris

unsupported_smartvalues.PNG

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.
November 8, 2024

Thanks for confirming that...I just recreated that message from the "help" and so I wonder if it is a documentation error.

 

Please show images of a complete rule and the audit log details for one that was working and is not any longer.

Are you able to identify when it stopped working, and if any changes occurred in your source control / pipeline tooling configuration?

If you just write the {{branch.repository.name}} to the audit log and test the rule, does it contain the value as expected?

Like Walter Buggenhout likes this

Suggest an answer

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

Atlassian Community Events