An issue will always have the project key as the first part of it's ID.
(unless Atlassian redesign how it's all structured, which I doubt. Although you never know. I'm not sure that it even makes sense to see an issue like ABC-123 and not be able to tell that it's in project XYZ because the key is "wrong")
Second thought, prompted by the discussion though. Are you looking for an immutable key for an issue?
The issue-id in the database does not ever change, so you could expose that to the user as well as the issue-key.
The problem there is that there's no url to point a user at, although I have a feeling I saw something that made the issue-id usable as well as the key.
No, you're not supposed to be able to change it. Ever.
An issue key in Jira is designed to be unique and indicate the project an issue is in. It is not arbitrary or user-settable. It's deliberately immutable within a project because humans simply can't cope with changing keys, especially when there's no clear logic behind it. ("Why did my key change from abc-123 to xyz-456" is acceptable and understandable when you say "changed project", but "because Fred felt like renaming it as penguin" is not)
If you need another arbitrary reference, I'd suggest a custom field, but you'll need to find or write a plugin to provide a custom field which will prevent duplicate entries.
Well thanks @Nic that seems to be near to what i require.
Actually m searching for that answer since long. and wanted YOU to reply it. as the question here was totally opposite to my question i expected that you will have an eye to my question too.... :) Thanks for the answer and please support me if i get any difficulty with my jira development. :)
how can i directly put my questions to you?
Alright... I try to explain why I wanto to have an immutable key.
At the begin I put all my issues in a Project named "EUREKA" where I have all the ideas put in.
After a while, the user analyse that ideas and move it in the different project that I have...
If I move, the PKEY will change, and I can't take notes of all the changes of the KEY. I want a initially PKEY, like IDEA-1, and it have to be the same, every time I move in the projects...
I know that I have the ID of the issues in the DB, and I'm using it for the query that I made for analyse... but I want to see this uniquew and immubatle ID in the issue!
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG