Hi Atlassian.
I am trying to find a way to retire an issue type, but do not succeed and would like your help to find a way to do this.
I have found this issue https://jira.atlassian.com/browse/JRA-26016 . But it does not help me much. As far as I can find there is no complete solution for this, but I saw somewhere that it might be possible to make some trick in the workflow.
Please let me know if you can help me with this.
Thanks
Olle
Yes, there is a slight weakness here - you can't remove an issue type without swapping existing issues of that type to one that will remain.
I've seen and tried/used a number of workarounds:
You could try javascript to get the users browser to prevent the users selecting the type. Good: consistent interface - the users simply aren't offered the option of that type. Bad: Pig to maintain, especially when Atlassian rearrange the interface on upgrade and it's a doddle to bypass, and if your javascript isn't strong (mine is awful), there's worries about it working on all browsers etc.
A more robust and blunt option is to reconfigure the issue type so that it behaves differently. There's two broad routes:
I highly recommend telling your users if you use either of these blocking tricks - put something on screen saying "issue type not available, so don't bother". I use the Jira Toolkit message fields to do this (in big red letters etc)
Hi Nic,
I followed your suggestion of hiding the unwanted issue type using JavaScript in JIRA 4.4.5 but it is not working on JIRA 5.2.5 because Create Issue and Create Subtask screens are now coming on dialog boxes. How could this be resolved in 5.2.5?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. In 5 and above, the javascript trick fails. I'm afraid your only real option now is the "break the create". Remove "summary" from the creation screen for that issue type. But please, if you do it like that, seriously chase up a way to put a message on the screen to tell the users that the issue type is deprecated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure users will shout at that because till now we hide the issuetype(by using JS :) trick). We also have some other JS scripts that were pasted in the description of custom fields and they are working fine. Cant we get hold of issuetype option by any means to add this script..??? Please help..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you'll need to "break the edit" as well, since users still can create unwanted issue type via Move operation (move operation generates an update event rather then a create event).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. (p.s. Royce is correct too - trying to do this with javascript won't work because you can still use "move". And since my original answer, more ways to create issues have been generated, so the advice of "don't bother with javascript" is even more true because you need to do it in a lot more places)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way is to do a search for that issue type, do a bulk edit and change the issue type to something else (turn your email notification off for that!). Then, just delete the issue type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.