The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to find issues containing SSN

Christopher Gronde
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Renee Lyons
Contributor
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
Contributor
January 18, 2017

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