Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API to get team name based on team id is failing.

Patil Vikas December 9, 2024

I am triggering the below JIRA API Programmatically with specific team ID to get the team name from the response of API. But the issue I am facing is it is behaving in consistent one day this API is working perfectly fine and sometimes it is failing for same team ID.

API Link = https://johndeerejira.atlassian.net/gateway/api/v3/teams/55694b93-584a-4be1-bbe2-519f009f12a2

2 answers

0 votes
Sunny Ape
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.
December 9, 2024

Hello @Patil Vikas 

The request path you have provided is absolutely not part of Jira's public REST APIs, hence the reason it's not described in Jira's public REST API documentation. It's one of Atlassian's private, internal endpoints!!

If you Google 'Jira /gateway/api/v3/teams' the very first result is this prior thread in this forum, where the topic of getting Teams via their IDs has been extensively discussed, and where it REPEATEDLY says that trying to access that internal API endpoint is a very bad idea and you shouldn't be doing it!!

The article clearly says you should be using the Teams Public REST API, so the request path should be:

https://{yoursitename}.atlassian.net/gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}
Patil Vikas December 9, 2024

Can you please explain from where i can get the org ID

Sunny Ape
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.
December 9, 2024

Don't you have access to Google where you are?

Patil Vikas December 10, 2024

I have checked in google, but suggest ways on the site is not useful. I am not able to see the administrator option.

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
December 9, 2024

Hi @Patil Vikas 

What results are you getting? Could you please explain further?

Suggest an answer

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

Atlassian Community Events