Forums

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

REST API for Cloud

Won Lee February 27, 2023

Hi,

  1. I have a cloud instance of JIRA.  Do I still have access to the v1 APIs?  Specifically this https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-rest-agile-1-0-board-boardid-get
  2. if so, can someone let me know why https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/ works for v2 and v3 but I get a 401 when I make this GET call in Postman?

 

curl --location 'https://<removed>/rest/agile/1.0/board' \
--header 'Authorization: <removed>' \
--header 'Cookie: <removed>'

 

2 answers

1 accepted

0 votes
Answer accepted
Won Lee February 27, 2023

So I changed from ENC my own api token and letting POSTMAN do it and now I can make /agile/1.0/board call.  I must have done something wrong when I used my own encoded token and tried to pass it via a header.  Works for other calls as I use a POSTMAN global variable though.  Go figure.

0 votes
Won Lee February 27, 2023

To add some context.  I have a couple of scrum teams.  They all have their own scurm board; some of them in the same project.  I would like to see how many of them have a healthy backlog.  Because I can't get this info via a Dashboard, I thought I would pull the data via REST and then create my own reports.

The requirements

get the last 3 sprints for the board
get the issues from those sprints
add up all the SP to all issues marked as DONE
divide that by 3 to calculate the velocity

get all issues that are marked as in the backlog or not in current sprints and has a status of DEFINED.

board is compliant if backlog story points is GTE to the velocity * 2

Suggest an answer

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

Atlassian Community Events