• 2,886
    • 271
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Atlassian Update – 22 August 2024

      Hi everyone,

      Thank you for taking the time to share your challenges around restricting the creation of certain issue types. After a thorough review by the team, we have decided that we will not be able to implement this suggestion in the next 12-18 months. We will be maintaining this ticket's status as "Gathering Interest" in order to continue learning from all of you about pain points and challenges relating to this suggestion, and will continue to re-visit this ticket in our ongoing product planning.

      We recognise that privilege escalation can be a major challenge in using Jira, which is why we are taking steps to improve the flexibility of our permission schemes at all levels. That journey begins with our Extended Project Admin capabilities, which will be released by the end of this year, and which we hope will be just the first step in making Jira permissions more granular and powerful.

      We understand that this is not the update you may have been hoping for, especially given the longstanding nature of this issue. Please don't hesitate to contact me if you have any questions or feedback.

      Regards,
      Aditi Dalal
      adalal@atlassian.com
      Product Manager, Jira Cloud

      Current Behaviour:
      All users who have permission to create issues can create any type of issue

      Expected behaviour:
      Restrict issue creation of certain types to certain users only.

      Workaround

      For company-managed projects, you can use a workflow validator as described here: https://confluence.atlassian.com/jirakb/how-to-restrict-the-creation-of-an-issue-based-on-issuetype-1267761379.html

            [JRACLOUD-44557] Restrict creation of issues based on issue type

            Thomas Feely added a comment - - edited

            working cross project with multiple teams and disciplines and you only want specific teams and/or roles to be able to create certain issue types becomes a multiple workflow nightmare.

            Abstract example:
            users primarily working on project can create all issue types

            users external to project:
            user A can create issue type A and X and Z
            user B can create issue type B and X and Y and Z
            user C can create issue type C and Y and Z

            Workflows to accommodate:

            workflow(s) for regular issue type(s)
            separate workflow for issue type A ( user A )
            separate workflow for issue type B ( user B )
            separate workflow for issue type C ( user C )
            separate workflow for issue type X ( user A, user B )
            separate workflow for issue type Y ( user B, user C )
            separate workflow for issue type Z ( user A, user B, user C )

            it only gets worse the more complex this structure needs to become, this is a simple example.
            The administrative overhead to manage these workflows, and the risk of making a mistake increases exponentially as more issue types and conditions have to be accounted for.
            A simple control to dictate who can create what eliminates this administration and security headache entirely

            Thomas Feely added a comment - - edited working cross project with multiple teams and disciplines and you only want specific teams and/or roles to be able to create certain issue types becomes a multiple workflow nightmare. Abstract example: users primarily working on project can create all issue types users external to project: user A can create issue type A and X and Z user B can create issue type B and X and Y and Z user C can create issue type C and Y and Z Workflows to accommodate: workflow(s) for regular issue type(s) separate workflow for issue type A ( user A ) separate workflow for issue type B ( user B ) separate workflow for issue type C ( user C ) separate workflow for issue type X ( user A, user B ) separate workflow for issue type Y ( user B, user C ) separate workflow for issue type Z ( user A, user B, user C ) it only gets worse the more complex this structure needs to become, this is a simple example. The administrative overhead to manage these workflows, and the risk of making a mistake increases exponentially as more issue types and conditions have to be accounted for. A simple control to dictate who can create what eliminates this administration and security headache entirely

            For us it would be really helpful to restrict the creation of epics in certain projects to a group of user or project role. A validator function for the create issue transition is necessary and we were wondering why it's not implemented yet.

            Daniel Wilde added a comment - For us it would be really helpful to restrict the creation of epics in certain projects to a group of user or project role. A validator function for the create issue transition is necessary and we were wondering why it's not implemented yet.

            Hello, I can't understand why Atlassian ignores all useful request and implement random and useless features. It looks like they want their partners sell more paid addons that covers basic needs ( basic querying, reporting, managing rights for creating some issue type....). Atlassian boord runs this company as if it is Ryanair.

             

            Saif Allah AZZAZA added a comment - Hello, I can't understand why Atlassian ignores all useful request and implement random and useless features. It looks like they want their partners sell more paid addons that covers basic needs ( basic querying, reporting, managing rights for creating some issue type....). Atlassian boord runs this company as if it is Ryanair.  

            While waiting for this functionality to be available in Jira out of the box, maybe you could consider the app we developed - Field Rules for Jira. It includes the Hide issue types rule, which enables you to hide specific issue types on the Global Issue Create view. Moreover, you can configure preconditions based on user groups, project roles, or individuals. I would appreciate it if you could give it a try.

            Maciej Dudziak _Forgappify_ added a comment - While waiting for this functionality to be available in Jira out of the box, maybe you could consider the app we developed - Field Rules for Jira . It includes the Hide issue types rule , which enables you to hide specific issue types on the Global Issue Create view. Moreover, you can configure preconditions based on user groups, project roles, or individuals. I would appreciate it if you could give it a try.

            i found a quick and dirty workaround : create an empty screen, attribute this screen to "create" for your restricted issue type, none can create since there isnt any compulsory field filled

            they can still go around this by cloning or re-using an existing issue of that type but the "can't create, missing summary" message can serve as a soft warning to prevent the mistake

            farah naili added a comment - i found a quick and dirty workaround : create an empty screen, attribute this screen to "create" for your restricted issue type, none can create since there isnt any compulsory field filled they can still go around this by cloning or re-using an existing issue of that type but the "can't create, missing summary" message can serve as a soft warning to prevent the mistake

            Zack Ahmed added a comment -

            In the project permission scheme, there should be an option to choose the Issue Type, and apply specific permissions to them.  Project specific permission scheme is too broad and doesn't work in the real world.

            Zack Ahmed added a comment - In the project permission scheme, there should be an option to choose the Issue Type, and apply specific permissions to them.  Project specific permission scheme is too broad and doesn't work in the real world.

            Hello Everyone,

             

            If you are having scriptrunner, in your workflow update parameters of the 'ScriptRunner Script' Validator for "Create" transition.

            Restrict to User Groups

             
            user.groups.includes('usergroup')

            Rathishan Pankajakshan added a comment - Hello Everyone,   If you are having scriptrunner, in your workflow update parameters of the 'ScriptRunner Script' Validator for "Create" transition. Restrict to User Groups   user.groups.includes('usergroup')

            Alon Gvili added a comment -

            Our pain point is to be able to block the creation of Stories for specific teams.

            The suggested workaround is horrible from many aspects. 

            Alon Gvili added a comment - Our pain point is to be able to block the creation of Stories for specific teams. The suggested workaround is horrible from many aspects. 

            9 years with no traction on a basic ask, typical of Atlassian

            The workaround is horrible; nothing prevents the user from filling out the create form, only to receive an error message upon submit.

            This is SIMPLE: you already have the capability to define the validator rule - QUERY THE RULE WHEN DRAWING THE CREATE SCREEN.  

            For each IssueType in Project

            {      if ( validator rule allows the current user to execute this transition )         draw IssueType as a select option     fi }

            Clint Bowen added a comment - 9 years with no traction on a basic ask, typical of Atlassian The workaround is horrible; nothing prevents the user from filling out the create form, only to receive an error message upon submit. This is SIMPLE: you already have the capability to define the validator rule - QUERY THE RULE WHEN DRAWING THE CREATE SCREEN.   For each IssueType in Project {      if ( validator rule allows the current user to execute this transition )         draw IssueType as a select option     fi }

            Hi,

             

            We have Projects configured with issue types starting from,

            Level 1 - Objectives,

            Level 2 - Initiatives,

            Level 3 - Epics,

            Level 4 - Stories, Defects, Problem etc

            Level 5 - Subtask

             

            So in a Project we don't want all to create Objectives and Initiatives. How can we restrict this?

             

            I hope this is basic requirement.

            Rathishan Pankajakshan added a comment - Hi,   We have Projects configured with issue types starting from, Level 1 - Objectives, Level 2 - Initiatives, Level 3 - Epics, Level 4 - Stories, Defects, Problem etc Level 5 - Subtask   So in a Project we don't want all to create Objectives and Initiatives. How can we restrict this?   I hope this is basic requirement.

              jthomas@atlassian.com Justin Thomas
              nghanis Nithiyaa Ghanis (Inactive)
              Votes:
              563 Vote for this issue
              Watchers:
              341 Start watching this issue

                Created:
                Updated: