Jira Issue Key Regex -

print(is_valid_jira_key("PROJ-123")) # True print(is_valid_jira_key("proj-123")) # False

[A-Za-z]+-[0-9]+

. It must start with an uppercase letter followed by at least one more uppercase letter or digit. : The mandatory hyphen separator. [1-9][0-9]* : Matches the Issue Number jira issue key regex

Together, these two parts form the issue key (e.g., "PROJ-123"). Issue keys are essential in Jira, as they allow you to reference and track issues across your project. jira issue key regex