Ability to find issues containing SSN

Christopher Gronde November 1, 2016

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

0 votes
Answer accepted
Renee Lyons November 1, 2016

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

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

Christopher Gronde January 18, 2017

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