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?
{
"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"
}
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:
For further details please see:
Let me know if this helps.
Cheers,
Dario
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.