Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Hey folks about the 400 error on bulk delete issue. I've added an update to the app so the audit log will give out more reasons why it fails rather than just stating 400 error. The reason should provide an answer to the cause of the 400 error. I believe with that, it should resolve the issue.
Prince, I just found this and am excited to use the app. I downloaded it into my instance, but I can't log-in for whatever reason. I even changed my password and it still isn't letting me in.
Our company uses single sign-on, and I have accounts on multiple Jira Instances. Wondering if that is complicating anything.....
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
You will need to sign up for an account then use that account to login into the app. There's a guide here which shows you how to do it. Once you're logged in, generate an API token from here which you need to add to the app before performing any action.
Hello - I did some testing and received a successful log entry: Executed successfully, bulk user deletion. (Success:204) Yet when I go back and look, I still see the users there. Is there a times sync that I am not aware of?
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Hi @Prince Nyeche , I am trying to bulk remove user from Jira user group , But getting 404 error :
I have prepared Csv comma delimited file with following format and also integrated API token
UID
Name
Group
Failure removing multiple users 5eb083855862510b793a7f90 from group jira-software-users
Don't know why its not working . Can you please let me know
I also tried to delet bulk users but then I got ERROR: 400 saying you cannot delete user 'xxx' because 17 issues were reported by this person.
Anyways but instead of deleting I want to remove those users from group as I simply want to revoke access but keep the user as a "user without site access"
May I am creating file wrongly , I tried with the following format but that also didn;t work
Hi @Prince Nyeche I am deleting thousands of users and the BulkOps UI logs me out after 10mins. The Atlassian API also times out after 1800 seconds - "This is to inform you that your requested jobs failed due to: Task exceeded maximum timeout value (1800 seconds). Outcome: Failure in bulk user deletion. You should check the audit log page for any additional info. Cheers, The BulkOps App Team"
Is there anything you can do about this? The BulkOps UI timeout doesnt seem to have an impact on the deletion process but i can no longer get back to the Bulk User Deletion progress bar to see how far its got.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
That's an interesting question. The bulk jobs are done in 30 minutes intervals due to limited resources. However, for bulk delete jobs, I would recommend uploads of 4K rows (max rows in your CSV file) per task to avoid hitting the timeout state. As you've noticed, the logout doesn't impact the job and it does that in the background. When that failure happens, the progress info is set to 100% to allow another request to take place. I think what I can do here is send the progress information as part of the message that comes in-app and also how many rows out of the current CSV file have been deleted so far. If you think that would be useful information, I can add that as a "To Do" task for the next update or maintenance cycle I'll do.
@Prince Nyeche Understood. I'll chop the CSVs into 4000 row chunks. My last batch was over 8600 rows. If my session with BulkOps times out though it would be great to know that when I re-log in that I can see how many rows have been processed. If there was an option to stay logged in for longer that would also help.
I just ran this app today, and got a 400 error for users that had issues assigned to them, had made comments, etc. Do I need to manually delete these, as BulkOps doesn't seem to understand deleting people who have "no site access"?
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
The API won't allow such deletion because in terms of Jira context, the issue isn't closed and some work is still going on that's why the 400 error appears. The easiest way to go about this is to find out which issues are open and close them or have the issues resolved. Since the API for deleting users is still experimental, it doesn't force delete the users if the user has made an action on an active Jira issue.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
You could easily use automation for Jira to bulk add a resolution value to those issues via a JQL search and transition them to close. I assume most probably that these issues opened shouldn't be more than 1K issues, so if you can create a rule that does that, then it will solve this immediate problem. Moving forward, it is always best practice to ensure each issue closed or resolved has a resolution value.
That is what I normally do.... but we have to switch from our cloud Jira to an enterprise Jira which is out of the box server based, so i have to reconfigure EVERYTHING.... without System Admin privileges.
I am not able to even open the app and configure it on our Jira cloud instance. when I go under my apps and selected bulk ops. It spins and then it says something went wrong contact Jira support etc.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
@Prince Nyeche I tried incignito but it gives the error saying something is wrong, our team is notified. I am a site admin. The bulkops app in my list of apps shows a broken symbol image. I tried uninstall and reinstall as well and it doesnt work.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
If it's showing a broken image, most probably there's some form of blocking happening. Are you behind a firewall or VPN, you might be blocking some of Atlassian IP ranges? Probably you can check with your Network admin about Atlassian domains or IP ranges that could be whitelisted.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Hi there, I have just tried deleting three test customers from our jira instance - is there a delay when the changes take affect? because I got a confirmation the action went through, I can see the success in the audit log but all three customers are still in the list (I refreshed this a few times as well)
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
The Atlassian delete sync is supposed to be immediate but if that doesn't happen probably give it a few minutes (for example 3-10 minutes) for the sync to take effect.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
50 comments