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

Delete unwanted users in JIRA On-Demand

Alexey Gusev Feb 12, 2014

Hello,

I have to state from the start that I know how to de-activate users, remove the access to applications and so on, so it's not a question of freeing places on our current license ;)

I want to delete users regardless of whatever data they created. We employ outsourced developers and thus add new users reasoably often. I can obviously use filters to see desired users but the truth is that once the given contact is finished, this particular user can be not working with us anymore. So all this results in just adding and adding and adding. Using "standard" user name is an option but it is ugly, it makes it all soulless...

Is there any solution to such scenarios?

Regards,

Alex

2 answers

1 accepted

0 votes
Answer accepted
Alexey Gusev Feb 13, 2014

so to summarise:

1. It's in the permission scheme(s). You'll need to check every active permission scheme.

Personally, if I were you, I'd just add "can delete anyone's comments" for Jira administrators only (there's no audit logs on deleted comments), that way none of your other users will click the wrong thing :-)

2. Go to person's profile, check all comments and remove them OR add custom participants field, filter issues by it and remove comments accordingly.

0 votes
Nic Brough [Adaptavist] Community Leader Feb 12, 2014

No, you can't. The tool is built in a way to prevent you destroying information, and that includes user activity (that's actually the single most important audit point in many fields that Jira gets used in).

The solution is to accept you can't destroy user information without major surgery. (And a visit from the regulators or the police if you're working in financial or defence fields)

Alexey Gusev Feb 12, 2014

That's a real pity. I even transferred all *important* information (ie reassigned tickets, removed persons from watchers etc) but I can't find a way to remove people's comments - and that stops the deletion.

And we aren't working in any sensitive areas ;) so user's removal is absolutely safe abd sound. Why can't admin remove comments?

Btw, is it possible to search issues by specifying who made a comment?

Nic Brough [Adaptavist] Community Leader Feb 12, 2014

Ooh, well, you can delete comments - just a matter of setting permissions to allow "delete anyone's comments"

However, no, I can't think of a quick easy way to identify them.

Edit - yes, click "comment" and then have an idea! Use the Jira Toolkit, it has a "participants" field - add one of those fields if you haven't already, re-index and then you can run a search for "participant = person I want to remove"

Nic Brough [Adaptavist] Community Leader Feb 12, 2014

It's in the permission scheme(s). You'll need to check every active permission scheme.

Personally, if I were you, I'd just add "can delete anyone's comments" for Jira administrators only (there's no audit logs on deleted comments), that way none of your other users will click the wrong thing :-)

Alexey Gusev Feb 12, 2014

I'd be very grateful if you explain me where to find "delete anyone's comments" setting!

Alexey Gusev Feb 13, 2014

Great, thanks, permission schemes do the trick.

Now - what exactly did you mean by "Edit - yes, click "comment" and then have an idea! Use the Jira Toolkit, it has a "participants" field - add one of those fields if you haven't already, re-index and then you can run a search for "participant = person I want to remove" ? I'm not sure I follow you in regards to Jira Toolkit. It's enabled but what should I do in comments?

Edit: I finally managed to get to some acceptable solution for identifying tickets with comments. It's visible in Profile's activity stream, so it's not ideal but works for me!

Nic Brough [Adaptavist] Community Leader Feb 13, 2014

I meant that as I clicked "comment", I had an idea on how to find the comments - the "participants" field lists all users who commented on an issue, so if you search it for the user you want ot remove, you'll get a list of issues where they commented, so you can delete them.

Nic Brough [Adaptavist] Community Leader Feb 13, 2014

Ah, no. Close, but not quite.

Watcher is a system field (it's always there, unless you turn it off). It lets users simply add themselves to the issue so that they get updates about it, but they don't need to comment or update the issue in any way, it's purely "I have an interest". I use it a lot on Atlassian's Jira to keep an eye on issues that matter to me.

Participants is a simple "derived" field for helping with searches. It basically contains the reporter, the assignee and anyone who has commented on the issue. It's more like saying "tell me who has done things with this issue" (assuming they comment on every interesting change, of course)

You need to add a participants field in order to get the data out for it - custom fields, add, choose "participants", call it anything you like, and make it global so it covers all issues. I wouldn't bother putting it on any screens, it's most useful for searching! (I quite like filters like "Open and I am in the participant field" for keeping an eye on stuff)

Alexey Gusev Feb 13, 2014

hmm, I dont see "participants" but I see "watcher" - perhaps that's the same thing

Alexey Gusev Feb 13, 2014

aha! let me try...

Edit - Fantastic! That answers all my questions, thanks!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

12,224 views 59 57
Read article

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