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

Getting data from the rest API

Hi I am trying to get data from rest API and it gives the data when I enter

https://{adress}/rest/api/latest/project

but it sends error when I try to get data from

https://{adress}/rest/api/version/project/{projectId}

1 answer

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

Is this a Jira Software or Jira Align question?  You call looks like something that might work with Jira Software, but there are not "Projects" in Jira Align.

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

Yeah, works for me against Jira Software ...{{base_Jira_url}}/project/ALLAN

Hi Allan 

thank you for your time.

I am using Java restTemplate.exchange() function to get the data from

https://{adress}/rest/api/version/project/{projectId}.

When I use different projectId then it gets the data but when I try to get data from projectid (which i needed) is not sending data.

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

Could it be because the API Key you are using was created within/by a user account that does not have access to the Project that you are trying to reach?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events