Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

how can i get scrum user details based on scrum

Hi,

i was trying to pull all the user based on the scrum but am not able to find the correct api and i tried with some other API's its throwing 401 error. could you please provide the setup how i can call.

2 answers

1 vote
Allan Maxwell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 14, 2023

Presently, you have to iterate over all the users and build the teams from the user's teams assignments.

 

/Users?expand=true

 

 returns this:

 

"teams": [
{
"teamId": 12,
"teamName": "Cowboys",
"teamType": 1,
"roleId": 4,
"roleName": "Developer"
},
{
"teamId": 13,
"teamName": "Washington",
"teamType": 1,
"roleId": 5,
"roleName": "Tester"
},

@Allan Maxwell  thanks for the response 

i tried with the url which you provided its returning some xml response and that is not the expected one.

Could you please help to get the correct end point URL

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Login</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="&#x2f;static&#x2f;css&#x2f;page&#x2f;email-first.css&#x3f;v&#x3d;94c62">
<link rel="shortcut icon" href="&#x2f;static&#x2f;images&#x2f;favicon_duo.ico&#x3f;v&#x3d;e3716" />
</head>
<body>
<div

Allan Maxwell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 05, 2023

Check the "Accept" value in your Request Header.  It would typically be set to "*/*" which allows the API to return the Response Body in it's prefered format ...such as JSON.

0 votes
Tom O_Connor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 13, 2023

@Johnkumar can you add some more details and context on your question?  Are you trying to get users from Jira Align based on the scrum teams they are part of?  This can be accomplished through the Jira Align API.  Documentation is here: https://help.jiraalign.com/hc/en-us/articles/360045371954-Getting-started-with-the-REST-API-2-0

Additionally, you may be asking about getting the details from Jira.  https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/

@Tom O_Connor  thanks for the response.

 

i tried below API and am getting 401 error. i had below scrum team structure. each of the scrum team had couple of peoples and i want to fetch all the users details with under which scrum they are assigned. those details i have to fetch. i tried all the reference in   jiraalign.com/rest/align/api/docs/index.html  but i could not able to get the details could you please help me to get the correct API for my requirement 

snap.PNG

/rest/align/api/2/Teams/3044

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events