Is there a good way to stop a Bulk Edit Operation in progress without bouncing the server?
Bulk operation is 0% complete after over a day.
Hi David,
Following suggestion needs to be run by the user who executed the task. In addition the user must be a JIRA Administrator in order to delete the task.
There is a internal REST point to stop tasks:DELETE /rest/projectconfig/1/migrationStatus/#id"#id" can be taken from the progress page's URL.URL below applies to bulk edits as well as project changes
There is a internal REST point to stop tasks:
Thanks, Kelly
Kelly - Once I got the correct URL structure, it worked perfectly. Thanks!
Hi David and Kelly:
What will be the correct URL for stopping a buld edits action -
Example our bulkedit url was -
https://jira.abc.com/secure/views/bulkedit/BulkOperationProgress.jspa?taskId=48321
Best, Joseph Chung Yin
Ditto to Joseph's Question.
After further analysis. Here is the answers (Bulk Edit or Project Changes Activities) -
Extracting some original answers from Atlassian's response -
1) Grant user who initiated the stuck bulk update job with Jira Administrator right
2) Open COMMAND line window on your user's machine and execute the following curl command -
curl -k -XDELETE -u <USERID> https://jira.xyz.com/rest/projectconfig/1/migrationStatus/<TaskJOBID>
2a) Replacing the USERID with the user account and apply the TaskJOBID.
3) Ask user to conduct bulk update action again once the curl command is successfully executed.
4) Revoke the temporary Jira Administrator right
Hope this helps.
Best, Joseph Chung Yin.
We tried the CURL command supplied with Jira v7.13.2, but received the following error:
'DEPRECATED JS - contextPath global variable has been deprecated since 7.4.0. Use `wrm/context-path` module instead.'
Ah, we were able to get it working using postman. Thanks for the tips!
Thanks for this helpful information. How can I find the TaskJOBID. of a user's bulk request?
The user doesn't know it.
Can't directly admin run this delete api?
I tried with admin but its throwing 403 error.
Thanks,
Anil
@Vinnie Chhabra - I think you can have the user re-attempt a bulk operation. They should be re-sent to their last-run task - if that happens, have them copy the URL, and the taskId should be at the end of the URL.
It looks like you're new here. Sign in or register to get started.