Forums

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

Format of issue keys

Noah McCollam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2018

When adding a new issue key for a commit message from JIRA I am looking to restrict the format of the issue key.

For example I only want keys in the format:

KEY-001  or  KEY-333

but I don't want commits to have all zeros:

KEY-000

Is there documentation for creating this link restriction?

1 answer

1 accepted

1 vote
Answer accepted
Lauren Schroeder
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2018

Hi Noah,

There's not a way to do that out of the box. If you'd like to restrict the format of the key in commits, there's an add on that let's you add regex validation for this.

https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker?hosting=server&tab=overview

Best,

Lauren

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events