Ability to find issues containing SSN

So one of our departments who uses JIRA has been apparently adding SSN's to the description of tickets (don't ask why)...this is obviously a no-no to our security department, and I have been tasked with finding a way to filter for this.  Is there a way (probably using script runner or other form of advanced JQL) that will allow to search for a string that contains 9 consecutive integers or $xxx-xx-xxxx or something so I can filter for all tickets that MIGHT contain an SSN in the description field?

1 answer

1 accepted

Have you tried something like this in JQL: description ~ "???-???-????" OR description ~ "?????????"

It's not as good as digits, but it might get you started.

The only problem is that ? doesn't denote whether it's a letter or number, so it doesn't really work.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

772 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you