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

Stop a hung Bulk Edit

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.

 

4 answers

1 accepted

3 votes
Answer accepted
KellyW Atlassian Team Sep 27, 2018

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.

  • If necessary grant temporary admin permission, delete task, then remove admin permission.
  • URL below applies to bulk edits as well as project changes:

    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

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

Like Allan Nunez likes this

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!

Like Dave Liao likes this
2 votes

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!

Can't directly admin run this delete api? 

I tried with admin but its throwing 403 error.

 

Thanks,

Anil

Like Dave Liao likes this

Thanks for this helpful information.   How can I find the TaskJOBID. of a user's bulk request?

The user doesn't know it.

Dave Liao Community Leader Oct 27, 2021

@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.

Ditto to Joseph's Question.

Suggest an answer

Log in or Sign up to answer
TAGS

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