Copy a board using API

Hello,

How can i copy an existing board using REST Api ?

4 answers

1 accepted

You need to perform a POST request to /1/boards with a JSON payload similar to this:

{
  "name": "My copied board",
  "idBoardSource": "SOURCE_BOARD_ID"
}

where SOURCE_BOARD_ID is the id of the board you want to copy.

Perfect !

Thank you, i'll give it a try

Please find the below link for the copy of the board

/rest/greenhopper/1.0/rapidview/{source board id}/copy

Thanks Srinivas! I was able to copy the board. However, I still haven't found a way to rename it using the API. Do you know a way to do that too? Cheers!

Please find the below link for the board re-name

/rest/greenhopper/1.0/rapidviewconfig/name

By passing Id & name.

Thanks! Is there a list of these functionalities somewhere, as they aren't on the official API page?

Hi Srinivas,

It would be great if you could help me out with two more things:

  1. update a board's location using API
  2. create quick filters using API

Much appreciated,

Menno

Even, I'm searching for the same. Soon I may post the details. Thanks 

Hi Srinivas,

This code should do the trick for moving the board:

PUT - ... /rest/greenhopper/1.0/rapidviewconfig/boardLocation

{
"rapidViewId": Board_id,
"locationType": "project",
"locationId": project_id
}

Cheers 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

138 views 3 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you