Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to have a automatically generated unique ID value for a custom field? Edited

Aside from Jira key, I want the Jira issues of my project to have unique IDs in the context of the issue type where they belong to. 

Example:

Jira Project

  • Issue Type
    • Jira Key (Custom Field)

 

Alpha Project (AP)

  • Bug
    • AP-1 (Bug-1)
    • AP-2 (Bug-2)
    • AP-3 (Bug-3)
  • Story
    • AP-4 (Story-1)
    • AP-5 (Story-2)
    • AP-6 (Story-3)
  • Task
    • AP-7 (Task-1)
    • AP-8 (Task-2)
    • AP-9 (Task-3)

 

 

Beta Project (BP)

  • Bug
    • BP-1 (Bug-1)
    • BP-4 (Bug-1)
    • BP-7 (Bug-1)
  • Story
    • BP-2 (Story-1)
    • BP-5 (Story-2)
    • BP-8 (Story-3)
  • Task
    • BP-3 (Task-1)
    • BP-6 (Task-2)
    • BP-9 (Task-3)

How to be able to achieve this?

Plugins? if scripting, which tools and where should I start?

2 answers

0 votes

You will need to find or write some code to do this. 

It won't be as simple as it sounds, as you'll need to think about how to store your sequence number and what happens if several processes all ask for the "next" number at the same time.

Thanks for the enlightenment. I agree with what you mentioned to consider such as where to get sequence number and for the several processes. 

I was just wondering if any plugins can do this functionality before I even dive in to coding the complex solution. 

I've yet to find a public add-on to do it.

I did run into one that was owned by a large corporation and had been written in-house.  As part of the engagement was to simplify their over-bloated system, we had a look at it and discovered that only the person who wrote it ever used it.  Everyone else worked off the issue key.

Hi Anne,

Since you are new here I was wondering why issue linking is not enough for you? (Or maybe since you are new you did not know about it).

If you are unhappy with the issue linking functionlality as maybe you wanted to be able to search by links, with Scriptrunner has a lot of issuefunctions which you can use to search throught the links or sort. (But I'm sure Nic can tell you more about it since it is from Adaptavist) ;)

Thanks for this info Lara, however, my question is not related to issue linking. 

What I want to achieve is to be able to have tracking IDs for each issue in the project specific to which issue type where they belong. 

Hi Anne, 

Have you checked out this add-on https://marketplace.atlassian.com/apps/1214561/issue-picker-custom-field-type-for-jira?hosting=server&tab=overview ? Its free and I thinks it sounds very similiar to what you need.

 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Agile

Join us LIVE: Atlassian & Experts Talk Research & Insights @ Scale

Hello all! What have you learned from your customers lately? Our live-streamed series continues by exploring CX, UX, and the power of research & insights at scale with Leisa Reichelt, Head of R...

270 views 3 6
Read article

Community Events

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

Events near you