Let's say the name of my project in JIRA is XYZ
The default way JIRA assigns issue key numbers for this project is XYZ-1, XYZ-2 and so on.
I would like to customise this based on some other criteria. Is this possible? Like also adding a component name to the issue key?
One example of requirement for the format is <PROJECT>-<COMPONENT>-#.
So, XYZ-SERVER-1 is a custom format I'm looking for - is this possible?
Thanks in advance,
Rama
Hi @PWS Dev
All issue id's are formatted with the key of the project followed by the next available number like XYZ-1.
Adding something like a component name to the issue key is therefor not possible.
Regards
Dave
Hello @PWS Dev
I have implemented something similar to what you want.
First of all as @Dave Bosman [Realdolmen] mentioned, it's not possible to modify issue key of an project and also it's not recommended as issue key is a combination of project key and a number.
If you want to append Component in your issue key like this
<PROJECT>-<COMPONENT>-#.
Then you should use the concept of "scripted fields" , I use the paid plugin Script runner for this.
When the issue screen loads the scripted field auto-calculates the custom issue key and is displayed as part of the scripted field, and the best part is that you can also query for scripted fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tarun Sapra
I could be wrong here. But you would just create a new field this way and you do not modify the issuekey itself. So it's a workaround.
But it is a nice solution and will probably be the "next best thing" if someone would need something like a custom issue key.
Regards
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Dave Bosman [Realdolmen]
Yes, for the approach I have suggested, it requires an creation of an scripted field. As out of the box it's not feasible to implement the original requirement, but since this kind of requirement is not uncommon hence the suggestion for an alternate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
Please go through below link for help:
https://confluence.atlassian.com/adminjiraserver/changing-the-project-key-format-938847081.html
~Tushar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.