Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Purging spam accounts from Jira?

Hi guys - I'm using both Scriptrunner and Jira CLI to manage user accounts and manage custom fields in our large Jira instance - we've recently been hit by a flurry or spam accounts in the run up to a trade show

Currently we are making the calls as spam, then manually deleting them, but tidying up the created accounts afterward is a pain in the bum.

What I'd quite like to work out, is how when we move an incident into **SPAM** that we would delete the incident, and any created user accounts

Equally for the existing spam accounts (some of which have caused loops) I want to work out how we can delete any associated comments, or change the ownership of those comments to a dummy account and purge them.  We've got almost 1000 in that state, and since our helpdesk manager left a year ago, I wasn't aware of how bad it had gotten.

Has anyone come up with a decent solution for managing this?  I'd like to make sure that we can handle this in an appropriate way moving forward, so I'm open to ways that this can be acheived

1 comment

Hey Scott, 

Can I ask you how you marked those issues as SPAM ? Is it with a custom field or is it an issue status ?

Also you mentioned 

tidying up the created accounts afterward is a pain in the bum.

So are those acounts the reporters of the spam issue ?

And when you say delete you mean completely remove those issues from the instance or just mark them as CLosed ?

Kind regards, Thanos

Hey Thanos, it's with issue type, so it gets moved to an issue type of **SPAM** but arguably, any options are available

So we'd like to completely remove the issue, then delete the reporter account

I was thinking that I could change the reporter to a generic account, then delete the original reporter, then delete the issue but I don't know whether this would be available directly in scriptrunner and it was too hard to think about on a Monday morning :)


Log in or Sign up to comment

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