Forums

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

Allow user to select one entry from comma-separated list

JiraAdmin
May 19, 2026

For Confiforms:

Given a comma-separated list, how can I present the user with the values from the list and have the user select just one of them? The selection will be stored in a field and used as a filter.

Detail:

Comma-separated list: a,b,c,d,e,f
Display the values and have the user select one of them, e.g., "c".

The selected value will be stored in the field mySelection.

The value will be used as a filter or condition: myfield:[entry.mySelection]

Question:

How can I display the list so each entry is presented and is selectable?

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Stephen_Lugton
Community Champion
May 19, 2026

Hi @JiraAdmin 

Without knowing which application you're trying to do this in, from your name I'll assume Jira with only one choice selectable.

For a company managed project, you can create your field mySelection as a Select List (Single Choice) or Radio button and manually add options for each item in your comma-separated list.

For a team managed project you can do a similar thing but the field type would be dropdown instead

This will be the simplest set up solution, but would require editing the field if you want to change options.

JiraAdmin
May 19, 2026

I don't want to hard-code the choices. I want to replace the available chioces based on other data the user provides. Using Jira as the example, the user provides JQL parameters, execute the JQL and use the Jira keys returned as the choices in the radio button field. Thus replacing the full set of choices each time.

Stephen_Lugton
Community Champion
May 19, 2026

Have a look at scenario 4 in https://support.atlassian.com/automation/kb/how-to-update-a-select-field-multiple-from-the-content-of-other-fields/ 

From what you're saying this is more complex than a simple automation though; you'd have to get the results of the JQL into a format where it could be added to the other field, and that's going to need coding.

You might be better off just getting the user to enter the value they want into a text field manually after they've run their query.

JiraAdmin
May 19, 2026

The question is not about Jira. It's about how to take a comma-separated list and present each item in the list to the user so they can select one. How the list is generated is unimportant.

First list: a,b,c,d,e

User sees: 

o a 

o b

o c

o d

o e

User selects "c"

A new list is then created (doesn't matter how): w,x,y,z

User sees:

o w

o x

o y

o z

User selects "y"

And this continues.

Note that I used what looks like a radio button field. That is just an example of how it might look. The form is not important. What is important is the the user sees the data and can select one of the values.

TAGS
AUG Leaders

Atlassian Community Events