Replacing auto generated key

Is it possible to replace the JIRA auto generated key which is used as a issue number with some other unique ID. e.g. If I integrate JIRA with some other tool is it possible to take other tools Unique ID and use that as a key (Issue number) in JIRA?

2 answers

1 accepted

0 votes

No

Sorry that's so terse, but the issue key is embedded so deeply into Jira, there's no way I'd even begin to try to do this. Might as well use the other tool instead if it's important.

The basic workaround is doable though - define a custom field for the external key and store it in there. If you're willing to do a little (simple) coding, you can even turn that into automatic references (a url or something)

Thats what I thought, thank for confirming it.

I would rather create a custom field and just store the other tool value in it.
Is it possible to create a auto generated number custom field?

I'm not sure what you mean by auto-generated - do you mean Jira will be generating the number itself, or that the external tool will push the number into Jira, or that Jira will pull it from the tool?

All of these are going to need a spot of code, but there's no point me rambling through details on one of them if another is better for you!

I too am interested to know whether or not they could auto-generate the number. The reason being I'm migrating from another bug tracking software and we have been using their Case Numbers as the branch names within Github. So Case 300 is branch 300. We would like Jira to pick up where we are leaving off in the other software. That would require being able to start with Case 301 and then every new Jira Issue created would increment by 1 number. So as to not have to change things around within our code version control.

Thanks

The previous answer still stands, I think.

In your use-case, you could probably code something to make the number "jump" quite easily, but you'd need to stop the users creating issues completely. Simple reason - Github creates branch 300, then users create 5 more issues taking the counter to 305, then Github creates branch 301. Your system breaks.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot