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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Dec 03, 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

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 Dec 04, 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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you