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

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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

37 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
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