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,455,745
Community Members
 
Community Events
176
Community Groups

Some Jira APIs Not Working

Edited

Greetings,

 

I am trying to access Jira APIs, some of them work, and some (the ones I really need) do not work. All of our Atlassian applications are accessed using the university's standard IDP login page. I am able to log in and have some of the APIs work as explained below.

The standard Jira API path should be at /rest/api/. However, for my university environment the path is at /api/. For example:

  1. https://build.s.university.edu/api/latest/server
  2. https://jira.university.edu/api/latest/issue/JRA-9

So I can successfully call these APIs using our path...

https://jira.university.edu/api/latest/issue/ABC-747

https://jira.university.edu/api/latest/project/ABC

BUT, when I try to call the following API endpoint (and others found here: https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-group-board) they do not work, I get a 404...

https://jira.university.edu/api/latest/board/123

What do I need to do to be able to call all Jira APIs? Why do some work and others don't?

 

Many Thanks,

k

2 answers

2 accepted

2 votes
Answer accepted

Hi @Keith ,

probably you are using cloud api but your instance seems to be a server/data center.

Try to use the following apis https://docs.atlassian.com/software/jira/docs/api/REST/9.4.0/

Hope this helps,

Fabio

Thanks so much @Fabio Racobaldo _Herzum_ , it does indeed look like we're using a server instance and this is the version?

/data/atlassian/atlassian-jira-software-8.20.11-standalone/bin

Thanks for the link, those APIs seem to be working, but the API I expected to see/am looking to use is one associated with Kanban Boards.

The scenario is that I would like to return all issues/tickets seen on a specific Kanban Board (and filter for status).

Does this 'board' API exist for our server? I see it in other APIs.

you're welcome @Keith

That is a server or datacenter version.

Here your rest api https://docs.atlassian.com/jira-software/REST/7.3.1/#agile/1.0/board-getIssuesForBoard

Ciao,
Fabio 

Right on, thank you so much @Fabio Racobaldo _Herzum_ 

you're welcome @Keith 

0 votes
Answer accepted

Update: In case this helps someone else, the reason some APIs are not working for our environment (se above) is because our environment only allows these generic API...

https://docs.atlassian.com/software/jira/docs/api/REST/8.20.11/

 so the /board call is not an option.

Suggest an answer

Log in or Sign up to answer