Add custom field new option based on another field value

Hi,

I have created a select list custom field with some options:

Example (just to ilustrate!!!) :

City -> Sao Paulo

Brasilia

Porto Alegre

But some times , users need another option (not present in the list) , for example, Rio de Janeiro. So, users need to request to JIRA admin to add Rio de Janeiro into de Cities list.

I would like to have a field to allow the user to add (write) a new option into the list.

I was thinking to do it using a groove script:

For example:

New city :[text box to write the city name]

When the user submit the issue, it runs a script as post function that get the value of "new city" field and add it into "City" select list options.

When another user try to create an issue, the fild will be updated with the new option added by the previous user:

City -> Sao Paulo

Brasilia

Porto Alegre

Rio de Janeiro

And the JIRA admin will not spend time updating custom field options...

I was imagining some script like "Built import custom field options" (Built in scripts), but custom field config scheme hard coded, and user will see only the field to enter new options (one , or more).

1 answer

0 votes

You could take this approach, but surely it would be easier to use a label field?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,021 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot