Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-21711

Add membersOfProjectRole function to JQL

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • JQL
    • 4
    • 3
    • 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.

      I would like to a query similar to the following:

      project = P1 and reporter in membersOfRole("Developer")
      

      And it would return all tickets reported by people who are members of the "Developer" role in the project P1.

      I can see where it might be a bit hard if someone adds multiple projects, and John Smith is only a developer on P1, but reported a ticket on P2, and it would show that ticket in P2.

      The cavet in JRA-21476 about exposing too much about permissions, might apply here too.

            Unassigned Unassigned
            c588799c22ca Larry Shatzer, Jr.
            Votes:
            210 Vote for this issue
            Watchers:
            75 Start watching this issue

              Created:
              Updated: