how can i get scrum user details based on scrum

Johnkumar March 13, 2023

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.
March 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"
},
Johnkumar March 14, 2023

@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.
April 5, 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.
March 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/

Johnkumar March 13, 2023

@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