• 99
    • 5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      Suggestion

      It would be extremely helpful if we were able to create filters for use with dashboards, etc. where a project type or category matched certain criteria.

      This would allow us to create a core, servicedesk, or software specific dashboard which would amalgamate all issues between different projects together based on this criteria.

      Workaround

      Option 1 - using project categories

      Jira natively supports the labeling of projects through the use of project categories:

      Once you have added the category of your choice to your projects, for example "JSM" category, you can use that on JQL:

      category = "JSM"
      

      Option 2 - Plugin alternatives

      Some plugins may provide extra JQL functionality to search for it. If you already have ScriptRunner it's possible to use the following:

      To search by Project Type, you may use ScriptRunner Custom JQL function projectsOfType:

      project in projectsOfType("service_desk") // or "business", "software"

      See the docs for details: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/projects

      Or JQL Booster Pack:

      https://marketplace.atlassian.com/apps/1218367/jql-booster-pack

      This app comes with  categoryMatches() / projectsOfType() functions

            [JRASERVER-45847] Add 'Project Type', ' Project Category' to JQL fields

            Stu added a comment -

            Needed, thank you!

            Stu added a comment - Needed, thank you!

            any news, please? truly would need it...

            Klára Zikešová added a comment - any news, please? truly would need it...

            Search by Project Category was implemented a long time ago - https://confluence.atlassian.com/jirasoftwareserver0822/advanced-searching-fields-reference-1142432457.html#Advancedsearchingfieldsreference-CategoryCategory

            You can do it like this:

            category = "My category"
            

            It was available in Jira Server 8.22.

             

            To search by Project Type, you may use ScriptRunner Custom JQL function projectsOfType:

            project in projectsOfType("service_desk") // or "business", "software"

            See the docs for details: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/projects

             

            Slava Dobromyslov added a comment - Search by Project Category was implemented a long time ago - https://confluence.atlassian.com/jirasoftwareserver0822/advanced-searching-fields-reference-1142432457.html#Advancedsearchingfieldsreference-CategoryCategory You can do it like this: category = "My category" It was available in Jira Server 8.22.   To search by Project Type , you may use ScriptRunner Custom JQL function projectsOfType: project in projectsOfType( "service_desk" ) // or "business" , "software" See the docs for details: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/projects  

            @jonny added a comment -

            This would be super helpful

             

            @jonny added a comment - This would be super helpful  

            For those looking to filter by project category and project type, after searching for a while I manage to achieve this using JQL Booster Pack plugin.

            https://marketplace.atlassian.com/apps/1218367/jql-booster-pack

            This app comes with  categoryMatches() / projectsOfType() functions and they works like a charm.

            Debby Orellano added a comment - For those looking to filter by project category and project type, after searching for a while I manage to achieve this using JQL Booster Pack plugin. https://marketplace.atlassian.com/apps/1218367/jql-booster-pack This app comes with  categoryMatches() / projectsOfType() functions and they works like a charm.

            I am jaw dropped that this feature isn't already here. This feels like an obvious gap.

            Andon Keller added a comment - I am jaw dropped that this feature isn't already here. This feels like an obvious gap.

            Please add this feature

            Saskia Verschorre added a comment - Please add this feature

             +1 vote

            Carina Elles added a comment -  +1 vote

            @Marko Have you tried the app called JQL Booster Pack throught Atlassian Marketplace??

            It includes the following JQL functions:

            • ... and many more.

            Kind Regards

            Jack Nolddor [Sweet Bananas] added a comment - @Marko Have you tried the app called JQL Booster Pack throught Atlassian Marketplace?? It includes the following JQL functions: projectsOfType() categoryMatches() ... and many more. Kind Regards

            @ Marko Isola

            We were using "Metadata for Jira" on our Server instance. This was a great tool to add properties on project level and using them in JQL.
            This app is for Data Center available too.

            It's a real shame not having anything similar in the cloud anymore.
            Filters with hard-coded project names is not a way to go.

            Martin Flury added a comment - @ Marko Isola We were using "Metadata for Jira" on our Server instance. This was a great tool to add properties on project level and using them in JQL. This app is for Data Center available too. It's a real shame not having anything similar in the cloud anymore. Filters with hard-coded project names is not a way to go.

              Unassigned Unassigned
              e60cee3f62db Matthew Daize
              Votes:
              718 Vote for this issue
              Watchers:
              269 Start watching this issue

                Created:
                Updated: