Is it possible to have 2 separate autoincrement-index? One for Epics and Stories and the other for the rest (normal Tickets) ?

What we would like to do is to further separate Stories from the Bug-Tickets.

issue-type: Epics and Stories
PROJ_US-1, PROJ_US-2, ...

issue-type: Bugs, everything else
PROJ-1, PROJ-2, ...

I guess a script is needed here. Can anyone point us in the right direction?
Much appreciated.

3 answers

1 accepted

1 vote
Accepted answer

Thanks for the clarification. JIRA keeps a single issue counter (pcounter) for each project and increments that for the next available issue key. It sounds like you want to change the way JIRA constructs an issue key. Maybe some JIRA developers can chime in here.

You can separate epics and stories from the rest using GreenHopper Context. Instead of using the Default context, you can create new contexts e.g. "Epics and Stories Only", "Bugs etc." In the new context, just define different filtering criteria based on Issue Type. Hope this is what you are looking for.

Thank you for your quick response. But this is not quite the feature needed.

Our Problem is:
UserStories and Bugs are created throughout project's Lifetime.
The main issue-id (running index from 1 to n) is disturbed in order, when bugs are created.

So we have:
(Story) (Bug) (Story) (Story)
PROJ-1, PROJ-2, PROJ-3, PROJ-4

What we want to achieve:
(Story) (Bug) (Story) (Story)
PROJ_US-1, PROJ-1, PROJ_US-2, PROJ_US-3

This might be a more general jira question i'm afraid. Maybe we should just use 2 different projects.

yeah, that may very well be your solution.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

2,081 views 14 13
Read article

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