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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,198
Community Members
 
Community Events
184
Community Groups

Get Teams through Jira v2 Rest API

Edited

Hello. I am looking for a way to get the team information from a Jira Cloud instance. I am trying to add the ability for users to edit the `Team` field from outside of Jira.

When performing a JQL query for an issue, `allowedValues` is not provided for the `Team` field. Also, I have tried using the experimental custom field options and context endpoint but that doesn't work.

Is there a way, or a workaround, for getting the teams that exist in a Jira Cloud instance??

1 answer

0 votes
Bill Sheboy
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.
Apr 05, 2023

Hi @Hassan Rachid 

I recall from other community posts there are several different things in Jira Cloud called "Team".  Which one do you mean: advanced roadmaps, project scope, something else?  Knowing that may help the community to offer suggestions.  Thanks!

Kind regards,
Bill

@Bill Sheboy  To be honest, I'm not sure what the differences are? I'm referring to the teams that you can create by hovering over the team dropdown on the top left and clicking "Create Team". These are the teams that display for the Team custom field

 

Screenshot from 2023-04-06 07-42-50.png

Bill Sheboy
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.
Apr 06, 2023

Let's check if the field is supported by the REST API using the how-to article linked below.  Basically you identify an issue that has your Team field, and then call the REST API with a browser.  If you can find your field, you would know the smart value and custom field id for it.  If you do not see it, the field may not be supported by the public functions.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

If that does not help, you could also post this question in the developer community area to see what they suggest: https://community.developer.atlassian.com/

Suggest an answer

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

Atlassian Community Events