adding items to a custom field (select list)

Can a non jira project admin user add to the list of field values in a custom field.

6 answers

1 accepted

0 votes
Accepted answer

No. Only administrators can amend the lists of options in custom fields.

Only jira administrators can amend the lists of options in custom fields.

Yes, that's what all our answers said.

If you want to close this question, accept one of our answers (preferably the one you've just repeated)

can we do it programatically. I mean can we write a event listener plug-in that add an option to custom field?

do we know a way to edit custom field options using jira plug-in(ofcourse without server down)?

Yes, you can code to add options, but you have to run the process as an administrator, or code something that bypasses security.

"Edit custom field options" is possible in the UI, it's pointless having another editor plugin, it would be duplicating functions you've already got.

Also, before you try this, *think*. I've removed plugins that do this sort of thing from three sites recently, because they've let the users add thousands of duplicated, pointless and misunderstood options. Then I've had to spend ages cleaning up the mess they made.

Automation that allows user to do dumb things is BAD. Filtering it through a human admin is usually best practice for select list options.

Thank you for comment.

Could you tell me how have done it. I am not going to allow every user to do that. There would be a separate issue type that will allow some very specific users to do it.

Doing from UI is a manual operation. I want to automate that stuff.

Could you share with me peice of code; how have you done it. i really need to do it.

 

I don't believe you can do this via the REST API (from my searches).

 

---
JIRA Cloud: https://docs.atlassian.com/jira/REST/cloud/
JIRA Server (latest): https://docs.atlassian.com/jira/REST/server/
JIRA Server (versions): https://docs.atlassian.com/jira/REST/

Have a look at Project Specific Select Field. It is a drop down custom field, where the project admin can config the option values.

Cheers
Holger

What do you mean with non jira project admins? In JIRA you have JIRA System Administrators, JIRA Administrators (using Global Permissions) and Project Admins (using Administer Project permission in Project Permission).

What do you mean with non jira project admins? In JIRA you have JIRA System Administrators, JIRA Administrators (using Global Permissions) and Project Admins (using Administer Project permission in Project Permission).

Hi Jeffrey,

Nic is absolutely right, if you want to items in select list anyhow you should go through below link

https://developer.atlassian.com/display/JIRADEV/Database+Schema#DatabaseSchema-Customfieldconfigurationoptions

Regards

Onkar Ahire

Before you proceed same as above, you should learn below discussion I faced working for the same you asked.

https://answers.atlassian.com/questions/159471/i-got-the-issue-while-adding-values-in-custom-field-in-jira-few-days-ago-i-insert-values-directly-in-to-the-db

Cheers

Onkar Ahire

Hi,

although this question is already answered, Customfield Editor add-on helps you to resolve this. You can define which custom fields and who can edit the values. It also offers their own REST API and fields can be updated by scripts (used by our internal systems integrated with Jira).

https://marketplace.atlassian.com/plugins/jiracustomfieldeditorplugin/server/overview

Cheers,
Radek

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,911 views 19 22
Read article

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