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!

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?)

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 

No. These are not public API's

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
Published Feb 20, 2019 in Trello

Using Trello To Facilitate Skillsharing

I work with a lot of really smart people, and chances are, you do, too! Our company encourages learning, even outside of things that relate to our jobs, so a friend of mine and I decided to find a wa...

267 views 1 4
Read article

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