Forums

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

How to include only the selected options of a multi-select field in an email

Susan Waldrip
Community Champion
March 3, 2026

Hi, I found a post from 2022 in which @Bill Sheboy mentioned being able to include ONLY the options selected in a multi-select list. I need to send the reporter an email to fix the selected items (included using smart values in an automation, ideally). I've tried using the iterative {{#}} {{/}} smart values with no success. Anyone know how to do this? 

I'm using a company-managed space in Jira Service Management cloud, Standard plan. Thank you!

1 answer

1 accepted

1 vote
Answer accepted
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 Champions.
March 3, 2026

Hi @Susan Waldrip 

To get all the possible values for the multiple-select option field, the rule could call the REST API endpoint using the Send Web Request action to do so.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-get

But first, I believe the rule would need to get the context ID for the field with another endpoint:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts/#api-rest-api-3-field-fieldid-context-get

 

Kind regards,
Bill

Susan Waldrip
Community Champion
March 3, 2026

Hi @Bill Sheboy , is there a way to get only the selected options by using something other than REST API and Web Requests? I'm thinking some kind of iterations through the options and only if they are selected (true) will they be displayed/available for inclusion in email text.

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 Champions.
March 3, 2026

Sorry, I misunderstood your question, @Susan Waldrip 

Yes, you may get the selected items by iterating over the custom field.  For example, to get the names of the selected options, please try this:

{{issue.customfield_12345.value}}

That will produce a list of values with comma-space separators.  If you wanted bulleted items, use the long-format iterator:

{{#issue.customfield_12345}}
* {{value}}
{{/}}

The value attribute is used because without it, the default attribute is the numeric id attribute for each option.

Like Susan Waldrip likes this
Susan Waldrip
Community Champion
March 3, 2026

Both of these suggestions work beautifully, thanks very much for your help!

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events