Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×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 ?
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.
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.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For a question like this, context is important for the community to help. Please post the following:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy Thank you for your explanation can you share me an image of automation that how actually it works after using what
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.