Forums

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

Añadir valores a un campo personalizado mediante API

José Angel Vargas Diaz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2023

Existe algún API o implementación automática que permita agregar valores a un campo personalizado tipo lista - dropwdon?. Queremos implementar un listado de clientes pero sin necesidad que el administrador tenga que entrar a la configuración del campo cada vez que se registra un nuevo cliente. Las etiquetas no sirven porque se propagan por todos los proyectos y lo queremos para un proyecto especifico.

1 answer

0 votes
Trudy Claspill
Community Champion
August 28, 2023

Hola @José Angel Vargas Diaz ,

Bienvenido a la comunidad Atlassian.

Este punto final en la API REST le permite modificar las opciones disponibles en un campo de lista de selección. Sin embargo, la API REST obedece a la configuración de seguridad de Jira, por lo que se deberán utilizar las credenciales de administrador de Jira para ejecutar esto.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option -poner

Hay algunas soluciones alternativas que utilizan aplicaciones de terceros sugeridas en las respuestas de esta publicación.

https://community.atlassian.com/t5/Jira-Service-Management/How-to-create-a-select-list-where-users-can-add-options/qaq-p/2258451

 

---

Hello,

Welcome to the Atlassian community.

This endpoint in the REST API lets you modify the options available in a selection list field. However the REST API obeys the security settings for Jira so Jira Administrator credentials would have to be used to execute this.

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

There are some alternate solutions using third party applications suggested in the answers on this post.

https://community.atlassian.com/t5/Jira-Service-Management/How-to-create-a-select-list-where-users-can-add-options/qaq-p/2258451

 

Add values ​​to a custom field using API

Is there an API or automatic implementation that allows adding values ​​to a custom list-type field - dropwdon?. We want to implement a list of clients but without the need for the administrator to enter the configuration of the field every time a new client registers. Labels are useless because they propagate through all projects and we want it for a specific project.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events