Forums

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

Select List (cascading) - Export Domain of Values

Chiara Spadavecchia
Contributor
March 8, 2021

Is there a way to export the domain of values of a Select List (cascading)?

A CSV export or similar.

1 answer

1 vote
Gideon Nolte _Eficode_
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.
March 8, 2021

Hi Chiara,

while I did not find a way to export to CSV directly, the JIRA Cloud REST API provides a solution to export the domain of values for select fields as a JSON-File. You can find a similar question here.

If we provide the API with a Project Key and an Issue Type, we will get information on the existing fields, including all possible options for your cascading Select List.

Note that Field-Contexts do apply.

 

The template request URL looks like this:

https://YOUR_COMPANY.atlassian.net/rest/api/2/issue/createmeta?projectKeys=PROJECT_KEY&issuetypeNames=ISSUE_TYPE&expand=projects.issuetypes.fields

The response to your request will contain the required information as a list of allowed values with children. 

 

Let's say you'd like to see all (field) meta information for the issue type Task in the DEV project of space-app, then your URL would look like this:

https://space-app.atlassian.net/rest/api/2/issue/createmeta?projectKeys=DEV&issuetypeNames=Task&expand=projects.issuetypes.fields

 

I hope this was helpful to you.
Greetings 

Gideon

Suggest an answer

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

Atlassian Community Events