Hi all,
Is there a way to download IDs for each and every value in the Select List (cascading) field? I have no problem getting those IDs "manually", one by one, but the field in question has too many values, which would take a significant amount of time to get the IDs and then document them. We are a Cloud-based Jira org, thus no access to the Db :-(. I'd greatly appreciate any advise.
here's an idea: Create an issue that has the respective Select list field on it and make sure it is editable. Then call the REST endpoint for this issue, like
https://<your-jira-site>.atlassian.net/rest/api/3/issue/<your-issue-key>?expand=editmeta
In the result, you'll see a section "editmeta". Within that section, find your field, and within that field, find "allowedValues". This should contain all options of the field, with their ID.
Hope this helps,
Best,
Hannes
@Hannes Obweger - JXL for Jira Thank you. I've got a bunch of info that I need to digest now :-).
Honestly, this method is not much better than doing it manually, since it requires to manually document those IDs anyway. I was looking for something more convenient. That being said, thank you very much for trying to help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah I know it's not ideal. To be fair, the JSON format that is returned by the REST endpoint is generally easy to process; e.g., if you use a JSON query like
editmeta.fields.<your-field-id>.allowedValues[*].id
you'd get your IDs:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.