adding items to a custom field (select list)

Jeffrey Lobo July 18, 2013

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

6 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 18, 2013

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

Jeffrey Lobo September 2, 2013

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2013

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)

MohammadA April 5, 2014

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)?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2014

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.

MohammadA April 5, 2014

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.

jrschumacher November 16, 2017

 

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/

2 votes
Holger Schimanski
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 Leaders.
August 17, 2013

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

0 votes
Radek Janata January 19, 2018

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

0 votes
Onkar Ahire
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 Leaders.
August 17, 2013

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

Onkar Ahire
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 Leaders.
August 17, 2013

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

0 votes
Holger Schimanski
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 Leaders.
August 17, 2013

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).

0 votes
Holger Schimanski August 1, 2013

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).

Suggest an answer

Log in or Sign up to answer