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

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

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
TAGS
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,663 views 16 7
Read article

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