We need New issues to be created in project A only from project B via " Create Linked Issue "
Although we could remove " Create Issue " permission in Permission Scheme of Project A, believe this stops creating Linked Issue even from Project B
Is there a way to just hide/disable " Create " button at the bottom of the Create Issue form only when Project A is selected ?
Currently we have Message Text field which warns them not to create, but that doesn't stop users from creating new issue.
Scriptrunner Script Fragments, doesn't seem to provide an option, instead has option to hide Create button from Blue Menu bar across Jira, which is not what required
Just wondering any possibilities.
Any thoughts much appreciated.
A ScriptRunner Behaviour can be used to limit issue types based upon certain conditions; in your case, you could leverage it to not offer any issue types. See:
https://www.adaptavist.com/blog/restricting-issue-types-with-scriptrunner-for-jira/
You could use a simplified version of that example and simply state:
issueTypeField.setFieldOptions([])
Doing that will cause a warning to display to the user and prevent them from creating an issue in that project.
General note: don't be an idiot like me - remember to apply this as a general behavior to an entire project, rather than specifying a particular 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.