Jira Issue Key Regex __exclusive__ -
TEST-1 , MOBILE-100 , A-0 .
The is deceptively simple. While [A-Z]+-\d+ works for basic cases, always wrap it with \b word boundaries to avoid false matches in real-world text. For exact validation, use anchors ^ and $ . jira issue key regex
Jira issue keys serve as unique identifiers for tracking work items in Atlassian’s widely used project management software. These keys (e.g., PROJ-123 , ABC-1 ) follow a specific set of syntactic rules. This paper provides a formal specification of the Jira issue key format, dissects the optimal regular expression for validating and extracting these keys, and explores common pitfalls, edge cases, and performance considerations for developers implementing Jira integrations. TEST-1 , MOBILE-100 , A-0
The default regular expression for matching a (e.g., PROJ-123 ) is: ([A-Z][A-Z]+)-([0-9]+) Breakdown of the Regex For exact validation, use anchors ^ and $