I want anyone who is in jira-user and has no Project role to just see Bug ticket type in the Create issue screen.
I know how to restrict issue type creation in workflow but that still allows the user who is restricted to see the issue type in the create issue screen. This leaves a negative user experience as they will type up the ticket and after clicking submit will figure out that they are blocked from creating that ticket type.
Anyone know how to restrict it so user does not see that issue type in the create screen at all?
Hello,
You could also implement this functionality with the Power Scripts add-on:
You could write a condition with a script like this:
if (!isUserInRole(currentUser()
, project
,
"Developers"
) && userInGroup("jira-users
", currentUser())
) {
return true;
}
return false;
You can find more info about conditions here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharath, do you have ScriptRunner?
Looks very similar to:
Otherwise, have you considered using an Issue Collector? While you may not be able to collect all the custom fields you're after, it is much simpler for the user. Read more here: https://confluence.atlassian.com/adminjiraserver071/using-the-issue-collector-802592637.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With Workflow Enhancer for Jira you can create a Universal Validator that checks [groups] user is in, evaluating to true or showing a custom error message to user.
Here is the link for the add-on - https://marketplace.atlassian.com/apps/575829/workflow-enhancer-for-jira?hosting=server&tab=overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I appreciate the response. I have seen this before that issuetypes are not shown to certain users on create issue screen and am looking for that solution.
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.