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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kelly - Once I got the correct URL structure, it worked perfectly. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joseph -
Leveraging Postman, available at https://www.getpostman.com/, send a DELETE request to the following https://jira.abc.com/rest/projectconfig/1/migrationStatus/48321
You'll need to configure Authorization leveraging your JIRA username and password.
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, we were able to get it working using postman. Thanks for the tips!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can't directly admin run this delete api?
I tried with admin but its throwing 403 error.
Thanks,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this helpful information. How can I find the TaskJOBID. of a user's bulk request?
The user doesn't know it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.