Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to update a custom drop-down field with info from another custom field

Kimi Nakashima December 6, 2019

We have a custom drop-down field called "Customer List". It contains a list of our existing customers. Currently when we get a new customer we have to go in and update the field manually through Jira settings. We also have an issue type called "New Customer Onboarding". This issue type has a custom field called "New Customer". Is there a way to programmatically append the value from the "New Customer" field into the "Customer List" field?

We have Automation for Jira, so I'm hoping that this is something we can do with it or somehow with service desk's automations, but I might be able to justify spending money on an add-on as long as it's not a one trick pony

4 answers

1 accepted

0 votes
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2019

Hello Kimi,

Thank you for reaching out to Atlassian Community!

When we use a drop-down custom field, the values added for the list can only be updated directly in the custom field, the automation won't work for this case. Automation only works when updating the value of a field in the ticket, it won't update the value globally.

Currently, there is no option to add this value automatically, it will be necessary to continue doing the steps you are doing by going to the custom field and adding it manually.

We have feature requests suggesting the implementation to edit custom fields using API:

Please, click on vote and watch to receive updates about the features.

Regards,
Angélica

1 vote
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2020

Hi @Kimi Nakashima ,

 

We have added endpoints to:

 

However, the feature requests are still open since we still miss the endpoints to edit/delete custom fields and to delete custom fields options. Keep following them for updates.

I hope this helps.

 

Cheers,
Dario

Kimi Nakashima January 24, 2020

@Dario B We're actually testing out a trial of JSD server right now. Have these also been added to JSD server or will they be in the future?

Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2020

Hi @Kimi Nakashima ,

Those endpoints are not available for Jira Server yet. :

 

If you want to get updates on the status of these features, you may want to follow the below 2 feature requests for Jira Server:

 

Cheers,
Dario

Jacob Francois March 20, 2022

@Dario B @Angélica Luz  - Will this come to server as well ? 

0 votes
Juan Felipe Garcia Carreño February 7, 2023

Hi @Kimi Nakashima ,

 

We've found a workaround using Scriptrunner. You can get the values from the second custom field inside a list (using a listener) and then adding them as Options within the Drop down field.

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2021

UPDATE 26/1/2021:

 

[JRACLOUD-36112] has been closed with below resolution summary:

We’ve recently published new Jira APIs for custom field options management.
These brand new APIs support custom field options in both global and project-specific contexts.
It’s a full set of APIs to read, create, update, delete and reorder custom field options:

 

[JRACLOUD-28539] is still open since we still miss the endpoints to edit and delete custom fields. Keep following it for updates.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events