Forums

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

In Jira automation how to confirm that our smart value is correct or not ?

Anurag Vipin Vaidya
Contributor
August 18, 2025

how to make sure smart value is working or not and suppose i have linked issues story and multiple bugs linked with it then in automation  condition if we make issue type equals to bug and want to perform some action on fields of story can we do this using smart values ?

3 answers

2 votes
Bert Dombrecht
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.
August 18, 2025

Hello @Anurag Vipin Vaidya ,

To validate a smart value, you can add an action to your Automation: "Add value to the audit log".

When you test your rule, you can check the audit log and validate the smart value.

audit log.pngaudit log2.png

If your trigger issue is the Bug, you can perform actions on the linked Story by using a 'For linked work items' branch, or a JQL driven branch and then adding the required action(s).

I hope this helps.

Anurag Vipin Vaidya
Contributor
August 20, 2025

@Bert Dombrecht  Thank you for explanation.
i shared my automation screenshots can you check what is wrong in it or else 
can you create and show one automation.
Story is linked with multiple bugs we are calculating how many times bug is reopened and saving the count in custom field bug Reopen count and we want to show total bug reopen count in story in custom field total_bug_reopen_coount.
suppose we have 3 bugs linked with story a,b and c.
1.a reopend 3 times 
2.b reopened 2 times
3.c reopened 1 time 
so in total_bug_reopen_count =6

Screenshot 2025-08-20 172158.pngScreenshot 2025-08-20 172147.png

 

 

1 vote
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.
August 18, 2025

Hi @Anurag Vipin Vaidya 

For a question like this, context is important for the community to help.  Please post the following:

  • what problem is your rule trying to solve; that is, "why do this?"
  • what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

 

Kind regards,
Bill

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.
August 20, 2025

Hi @Anurag Vipin Vaidya 

Based upon the rule images you posted, you are using Jira Server or Jira Data Center.

In that case, the Lookup Issues action does not support the fields you are trying to use.  Here is the open suggestion to add other fields to that action: https://jira.atlassian.com/browse/JIRAAUTOSERVER-877

The workaround for your case is to use the REST API with a JQL issue search instead of the Lookup Issues action.  To learn more about that technique, please see this post:

https://community.atlassian.com/forums/Jira-articles/How-Can-I-Sum-Up-Multiple-Issues-into-a-Parent-Number-Field/ba-p/2882712#M16701

 

Kind regards,
Bill

Anurag Vipin Vaidya
Contributor
August 20, 2025

@Bill Sheboy  Thank you for your explanation can you share me an image of automation that how actually it works after using what 

1 vote
Kris Dewachter
Community Champion
August 18, 2025

Hi @Anurag Vipin Vaidya ,

Yes you can use smart values for that. You can create IF statements based on smart values to perform certain actions.

What exactly are you trying to achieve?

Best regards, 
Kris

Suggest an answer

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

Atlassian Community Events