APIPortal
Move roadmap items to another portal
Move every project and issue on one portal to another in one call. Items on other portals keep them.
POST
/portal/instances/{id}/move-itemscurl -X POST "https://productlane.com/api/v2/portal/instances/{id}/move-items" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to_portal_instance_id": "string"
}'Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Parameters
idstringpathrequiredPortal to move items off, from GET /portal/instances.
__main__for the Main portal.
Body
application/json
to_portal_instance_idstringrequiredPortal to move items onto, from GET /portal/instances.
__main__for the Main portal.resourcesenum<string>[]Which roadmap items to move:
projects,issuesor both.One of:projectsissuesDefault:["projects","issues"]dry_runbooleanCount what would move without changing anything.
Default:false
Response
application/json
Successful response
projects_movedintegerrequiredissues_movedintegerrequireddry_runbooleanrequired
{
"projects_moved": 0,
"issues_moved": 0,
"dry_run": true
}