Hi,
We want to hide a perticular issue type from create isuue screen for a particular project using javascript and this issue type is bieng used in other project also and we need this issue type as well in this project for searching old issues by using issue navigatior that means issuetype shoould be present in issue navigetor and not in create screen.
While you can probably find an existing javascript on our site to do this, I would also recommend checking out Matthew's post over on https://community.atlassian.com/t5/Jira-questions/Can-I-block-an-issue-type-from-being-creatable-but-still-have-it/qaq-p/94191
He explains that you could create a validator on the workflow to prevent users from creating new issues of those types. Since each issue type in a project can have a different workflow, you could create a separate workflow for these other issue types in order to restrict which users could create issues of this type in this project. By adding a permission validator and selecting a role such as Administer Projects you could limit only users in that role to creating these new issue types. And this would still allow those old issue types to remain in that project.
That said, I understand if you would prefer to hide these values instead. Our site has a number of users that have requested this before, I would recommend checking out these links:
https://community.atlassian.com/t5/Jira-questions/Disable-issue-type-javascript/qaq-p/146604
One thing to note: Even if you create a javascript to hide this option from users, it would still be possible to create issues of that type via the REST API in Jira. Which is why I would still recommend looking into the option to modify the workflows for those issue types in that project to have this validator. This way, even REST calls can't be used to create issues of that type in that project.
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.