Is there a way to update the list in Key Customer field via API?

Zheng Geng Phan
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!
June 16, 2023

It seems there isn't a way to programmatically update the list of available options in the "Key Customer" field via API, is that right?

If it is available, could someone advise how to do so?

Based on the https://community.atlassian.com/t5/Jira-Product-Discovery-questions/Can-you-pull-customer-data-from-Salesforce/qaq-p/2190802, seems like that may be possible somehow.

 

1 answer

0 votes
Chris Timms
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.
June 16, 2023

Hi @Zheng Geng Phan

Technically, the JPD product is built on the same underlying Jira API that all Jira issues are. This means that the constraints you are working with are actually in the API capabilities and not in JPD itself.

/api/2/field/{fieldKey}/option appears to offer the functionality you need but I'd recommend consulting the whole document to make sure there is not a better fit four your usecase.

 

Regards, 

-C

Guy Yasoor
Contributor
June 16, 2023

On a similar note - I'd really like to sync the "Organizations" built-in field from Jira Service Management, with the "Key customers" field that Ideas have.

I tried to create an automation that takes that field when the issue is linked to an Idea through an Insight, and add it to "Key customers", but the automation couldn't automatically add a new value to the multi-select field.

Wondering if there's any workaround that wouldn't require me to manually add a value to JPD every time a new organization is added in JSM.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events