Copy a board using API

Anass July 5, 2017

Hello,

How can i copy an existing board using REST Api ?

4 answers

1 accepted

2 votes
Answer accepted
Oscar Triscon
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.
July 5, 2017

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.

Anass July 5, 2017

Perfect !

Thank you, i'll give it a try

1 vote

Please find the below link for the copy of the board

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

Menno Brendeke August 10, 2018

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!

FMassaro March 1, 2019

do I need to pass on any data to API? For some reason I am getting a code 405. In theory it should work without any issues even without data (I assume that copied board are renamed upon copy, right?)

0 votes
SriniP [Bob Swift Atlassian Apps] August 13, 2018

No. These are not public API's

Menno Brendeke August 20, 2018

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 

0 votes
SriniP [Bob Swift Atlassian Apps] August 13, 2018

Please find the below link for the board re-name

/rest/greenhopper/1.0/rapidviewconfig/name

By passing Id & name.

Menno Brendeke August 13, 2018

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

Menno Brendeke August 14, 2018

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

SriniP [Bob Swift Atlassian Apps] August 20, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events