Can anyone provide an example or documentation showing the bulkMove call for opTasks?
I can't find anything explaining how it works.
Thanks,
Rob
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello Robert,
this is not very difficult:
Just call (PUT) the endpoint OPTASK using the action bulkMove and provide the payload.
payload = {
'issueIDs': ['6576e4a600066fd1e6ee4a0d0080434e','6576e4a600066fd1e6ee4a0d0075234e'],
'projectID': '65958f4700103485e2aa550f553375b2',
}
where issueIDs is an array of the OPTASK objects you want to move and projectID is the ID of the target project.
You can also use the action bulkMoveWithOptions where you also can provide the options as an array.
Unfortunately those are not listed anywhere...
For more information I absolutely recommend to have a look into the API explorer.
Regards
Lars
Views
Replies
Total Likes
Hello Robert,
this is not very difficult:
Just call (PUT) the endpoint OPTASK using the action bulkMove and provide the payload.
payload = {
'issueIDs': ['6576e4a600066fd1e6ee4a0d0080434e','6576e4a600066fd1e6ee4a0d0075234e'],
'projectID': '65958f4700103485e2aa550f553375b2',
}
where issueIDs is an array of the OPTASK objects you want to move and projectID is the ID of the target project.
You can also use the action bulkMoveWithOptions where you also can provide the options as an array.
Unfortunately those are not listed anywhere...
For more information I absolutely recommend to have a look into the API explorer.
Regards
Lars
Views
Replies
Total Likes
Thank you @lgaertner
So it seems we have to add this as raw JSON. I was trying to use the URL Encoded parameters which didn't work.
I have looked at the API Explorer, it just wasn't clear were I put these parameters.
Your method works.
Thank you
Rob
Views
Replies
Total Likes
Views
Likes
Replies