Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Is there a way to depreciate an issue type? We have an issue type that we no longer want to allow issues to be submitted against. If I remove the issue type from the Issues Type Scheme for the project, all existing issues with that issue type must be migrated to a different issue type.
I want to prevent users from submitting new issues with the depreciated issue type, but I do not want to change the issue type on existing issues (resolved or unresolved).
Can this be done?
There is no way to depreciate. But you can modify workflow to make sure users can't create new issues with that issue type. Also, with the help of a text custom field, you can place a warning at the Issue Create page telling users that they won't be able to go any further without changing issue type.
Pedro, I'm interested in this as well. How would you modify workflow to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any way to do it without JJUPIN? (We want to try to avoid buying plugins when we only need it to do one thing.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have the same problem,
Is there any way now to do this with a free plugin ? (we don't want the solution with the announcement banner or JJUPIN)
I currently try with the Behaviours plugin but i'm not sure it's possible...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What we've found that works is hiding the issue type from your create screen with javascript, you can put this in the announcement banner and it will hide the issue type from it. Downside is that I don't think the script doesn't run in Jira Agile so it will still show up if you create from there.
Replace the *'s with the issuetype ID that you find by:
-Inspecting the element of the issue type in the create screen of your browser, in the ''<selec data-container-class="issuetype-ss" etc." element you should have a list of the issue types with their IDs. Note that those IDs are project specific.
<script type="text/javascript"> function removeIssuetype() { AJS.$("#issuetype*******").remove(); AJS.$("#issuetype********").remove(); AJS.$("#issuetype********").remove(); AJS.$("#issuetype*********").remove(); AJS.$("#issuetype********").remove(); } var removeCTE = setInterval(function() { if (AJS.$("#create-issue-dialog").length){ removeIssuetype(); } },500); JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context) { if (AJS.$("#create-issue-dialog").length){ removeIssuetype(); } }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it can be done. You can hide it, and you can even put a message on existing issues. Using JJUPIN Live Fields:
string [] forbiddenTypes =
{
"Issue Type to be hidden"
};
lfRestrictSelectOptions(
"issueType"
, forbiddenTypes);
//to show a message on the existing issues
if(issueType == "Issue Type to be hidden
") {
lfShowFieldMessage(
"issueType"
,
"This issue type is deprecated. It will be changed in the near future!"
,
"WARNING"
);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about adding an inline text to ask people not to use it?
Another approach is to modify the screen scheme such that the create issue will go to a blank screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.