We're setting the summary of an issue based on what is in a few fields, and one of which is a multi-select field. To make sure we aren't modifying the options that were selected, we're copying the values of the multi-select into another multi-select field for temporary storage in order to remove some of what is selected, and then use the remaining value as what's included in the summary. The problem is, I haven't found a way to do this yet. Is this possible with Automation, or will I need something like ScriptRunner?
e.g.
Summary: {{Field1}] {[Field2}} {{Option from field 3}}
field 3:
value: 1,
value: 2, (Desired value)
value: 3
Hi @Michael Wolfe -- Welcome to the Atlassian Community!
I am not quite following what you are doing. Do you mean you want to extract the currently selected values from the multi-select field, and add them to the summary?
If that is correct, you can do that. Please look here to learn how to access the custom field attributes as smart values: https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/
If that is not correct, would you please clarify? Perhaps post an image of your rule and explain how it is not working as you expect. Thanks!
Kind regards,
Bill
Hi @Bill Sheboy
The multi-select field could have values selected that are valuable for the issue's information, but we only want specific values of that field to go into the Summary. We would need to parse what was selected, and only include the options that are relevant in the Summary.
Thanks for responding so quickly,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for clarifying, Michael.
There is a new conditional filtering feature for smart values which may help do this: https://community.atlassian.com/t5/Automation-articles/Filtering-smart-value-lists/ba-p/1827588
If that does not help, please take a look at the list and text functions, as you could convert the field values into a list and then use filtering/search replace to get what you need.
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.