By default, the issue key is <project_key>-<issue_no>. In our case, we expected that issue ID is generated automatically by type, for example, bug type issue is Bug-123, story type issue is Story-123.
We found a similar issue on the community but no solution is listed in it.
How to change the issue key rule by type? Or any plugin can do it?
This is an OLD issue. To do this you'd have to rewrite major parts of the source code. I'm not aware of any plugin that does that. You're best bet is to look for a plugin that will generate the requested type of number and add the custom field to your project
Thanks for your information. We cannot find available plugin to do it. What's the meaning about the way that you said is "rewrite major parts of the source code"? As the Jira administrator, where and how to get the source code and rewirte it? Not quite understand the details.
The code isn't available through the application. You would need to have SA rights on the server and look into the installed files to figure out everywhere you would need to change it. You would need to include the project the issue was in so your key would need to be something like proj-type-number otherwise you and JIRA would have no way of knowing what project to associate the issue with. Next next problem would be when you upgrade to another version of JIRA you would need to go back and verify the old updates would work and not break a new function. In my opinion this is a VERY BAD idea.
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events