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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events