How to get the "rapidview" or "originboardid" value of a project in jira using rest api?

Reni November 27, 2019

How to get the "rapidview" or "originboardid" value of a project in jira using rest api?

Inorder to create a new sprint using rest api, we need to give name and originboard id. This "originboard id" is the value of "rapidview" from the url. For each new project there will be a "rapidview" value. how to get  this value using a rest api?

https://<domain>.atlassian.net/secure/RapidBoard.jspa?projectKey=PRO649&rapidView=17&view=planning.nodetail 

 

{
"name": "sprint 1",
"startDate": "2015-04-11T15:22:00.000+10:00",
"endDate": "2015-04-20T01:22:00.000+10:00",
"originBoardId": 17,
"goal": "sprint 1 goal"


}

1 answer

1 accepted

1 vote
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2019

Hi @Reni ,

Welcome to the Atlassian Community!

In order to get the board id for a given board of a given project, you can send a GET request to the Jira Software Server REST API endpoint /rest/agile/1.0/board to get all boards, using the type, name and projectKeyOrId parameters to get only the desired board id.

For example, if you only want to get the id of the board named XXX in project having key YYY you will call:

  • http(s)://JIRA/rest/agile/1.0/board?projectKeyOrId=YYY&name=XXX 

 

For further details please see:

 

Let me know if this helps.

 

Cheers,
Dario

Reni December 3, 2019

Thanks for answering, though I've figured it out :).

I've done the same thing. Getting all the board details through the GET request then filter the projects with the 'project name' and  taking the corresponding ID.

I've used-  GET  https://<domain>.atlassian.net/rest/agile/1.0/board

for getting all the board details.

Like # people like this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2019

Hi @Reni ,

Happy to know this is not an issue for you anymore :)

Please do not hesitate to create a new thread in case of any other question or concern.

 

Cheers,
Dario 

Suggest an answer

Log in or Sign up to answer