Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API to retrieve board(s)

Calvin Hoot April 5, 2016

I'm trying not to hard code things but I'm not seeing boards nor their discovery.

according to latest, GET /rest/api/2/board/{boardId}/data should return the details of a board. I'm guessing this is part of the /secure/RapidBoard.jspa?rapidView={x} but I'm getting a 404 using x as boardId and cannot see another way to discover or retrieve a board.

What I'm trying to get at are a way to sort my statuses for an issue, since an issue in this workflow can transition from any step to any step. Even if this is not possible, a way to sort workflow status categories without hardcoding a translation table would be nice since they come back as 1: undefined, 2: "To Do", 4: "In Progress", and 3: "Done".

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Aleks Yenin (Polontech)
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.
April 5, 2016

Try GET rest/agile/1.0/board instead of  GET /rest/api/2/board/{boardId}/data 

Calvin Hoot April 6, 2016

this is correct, though there is still a bug in the api since it lists an invalid endpoint.

the details are in https://docs.atlassian.com/greenhopper/REST/cloud/ which references the https://developer.atlassian.com/jiradev/jira-apis page, but it not referenced on said apis page.

 

Like Bas_Geertsema likes this
TAGS
AUG Leaders

Atlassian Community Events