I've tried many different REST API GET requests to return a list of all available values/options on the customfield_10001 the new Jira Team field.
Nothing is returning a list of values available to select in that field in the UI. I tried to get 'Context', 'Schemas' and do chained API calls but nothing.
I tried: https://<instance>/rest/api/3/field/customfield_10001/context
It returned:
The new Team field is not storing that list in the field itself, that information is coming from Teams section and you have to use the GraphQL API for teams to get the list.
Hello @Mikael Sandberg
Thank you for steering me in the right direction. I'm slowly getting a grip around how these modules Team / Software etc. are architected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ciao @Mikael Sandberg ,
I thought to try my luck here and just ask quickly. I'm testing out the GraphQL endpoint, and the `query Team2` to search on the Teams.
I need to provide two required fields Organization ID and a Site ID. I'm trying to find documentation about what those values are and how to retrieve them. If you have any shortcuts or knowledge of them and have time, I'd be happy to receive any tips/guidance on what values I need to pass with those.
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm looking here: https://developer.atlassian.com/platform/teams/graphql/#queries_teamSearchV2 at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the org id via this API, https://developer.atlassian.com/cloud/admin/organization/rest/api-group-orgs/#api-group-orgs
I have used the site id before, but cannot remember how I got it, let me dig through my scripts and see if I can find it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is how you get the site id, https://confluence.atlassian.com/jirakb/how-to-find-cloud-site-id-1272283178.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Mikael Sandberg , you are money$!
The Site Id seems relatively straight forward.
I am caught in another loop now with the Atlassian Admin site and trying to add the existing Jira Software piplanning.atlassian.net instance to my Admin site. For some reason - intuitively - I'm not able to add existing Jira Software instance piplanning.atlassian.net and it directs me to start a new Jira Cloud trial. I'm trying to sort through this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also there is nothing in the Team API to do this. It is all singular API calls if you know the Team Id value in advance.
https://developer.atlassian.com/platform/teams/components/team-public-rest-api/
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.