hi,
1. we are on Jira server in our enterprise. Would like to know how to
- update a custom field option in a custom field
- add a custom field option in a custom field
2. similar option for jira server as available on jira cloud platform here - https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-put
1. Log in as an admin and go to Admin -> Issues -> Custom fields, find your field and click "configure" next to it. Select list type fields will present you with the current list of options and you can add/edit/delete the options
2. Cloud works the same for company-managed projects. Server doesn't have team-managed projects, so you don't need to think about the fields people have added individually there.
Hi @Nic Brough -Adaptavist- , thanks for your response. Actually even my first question was for the rest api steps required to achieve point 1. Sorry for not clarifying that.
So do you happen to have any rest api solution to update custom field options? I saw solutions available for cloud platform but did not find anything similar for enterprise server platform.
Appreciate your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not for Server - the REST API doesn't have the admin functions you need yet.
You'll need an app that can provide REST endpoints to do that work, or even replace whatever you're doing externally completely.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could write apps that provide REST endpoints, yes.
It might be worth looking in the marketplace for apps that have already been built to do it.
A potentially useful halfway house might be Scriptrunner, as it can do all the work of a an app framework and all you'd need to write is the code that makes the updates behind the SR REST endpoint (yes, I work for Adaptavist, feel feel to see this line as an advert!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.