I'm not quite sure what you need exactly.
You could simply use an Issue Type Scheme that only includes these issue types in the project if you only need Sub-Bug and Question.
An option would be to use a transition on the parent issue that links to the same status and creates a linked issue with the required type – you could simulate a Create Issue screen by using the Transition screen and some custom fields that are only used to copy the values to the new issue. On that transition you could also add User Is In Roles or User Is In Group conditions if you need them.
Sadly, JSU does not have a User Group Validator or something like it yet, which is necessary to check the issue on the create transition.
You'll find more information on the create linked issue transition in our documentation: https://confluence-apps.beecom.ch/display/JSU/Create+a+Linked+Issue
Also our helpdesk is always open if you need JSU-specific support: https://servicedesk-apps.beecom.ch/servicedesk/customer/portal/3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@John Funk Hello, could you show me it on printsreen?
and shall I make this validator on every workflow except this two types?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you have the Server version.
Use the Regular Expression Check and place your code in there to check that the Issue type is Sub-bug or the issue type is Question.
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.
anyway Regular Expression Check doesn't`t give me ability to choose issue type for checking.
ANd what I read in the internet.. its all not working for this task.
I found ScriptRunner code... but its forbid to make any sub-task for any role in jira 😬
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using:
issue.issueType.name == "sub-bug" || issue.issueType.name == "question"
Be sure to use the right case for the actual issue type names.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't understand how only using this code I can forbid create all issues type except sub-bug and question only for user role = customer.
customer should be possible create only sub-bug and question.
Also I can't find in Field to be checked: "roles" of creator or "reporter"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you are using JSU - I missed that earlier. My answer was for use with the JWME add-on.
You should probably contact Support at JSU to get help with the syntax. Sorry.
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.