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)

What we want to achieve:
(Story) (Bug) (Story) (Story)

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 Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

65 views 0 3
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