Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to search for tasks of project members instead of use assignee in()?

Rico Hasler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2019

Sometimes projects have a lot of members. If I somehow would like to filter every task of the project members but not only in this project. For example:

We set up a project for a department to do the task management. The project members are the department employees. There are department tasks which will be linked to the department project. The JQL would look something like:

project = XY

But the tasks the department employees have in other project won't be listed. Therefore the JQL looks like:

project = XY OR assignee in (user1, user2, ..., userN)

if the other projects change (e.g. a new project is involved) or the department team changes (e.g. new employee) I would need to change that at several locations (JQL and department project members). It would be very nice if the JQL could look like this:

member of project (XY)

this would list every task of every project member.

 

Is this already possible and I'm just overseeing something?

1 answer

1 accepted

1 vote
Answer accepted
Fazila Ashraf
Community Champion
January 9, 2019

Hi @Rico Hasler


JIRA has memberOf(group) as an inbuilt function. If you use different groups for different projects, you could achieve what you are asking.

 

If you use JQL Tricks plugin (commercial) , there is a usersInRole([project],role)  function that will check wither the assignee is in the given project roles of the given project. Refer to https://www.j-tricks.com/jqlt-user-functions.html

Rico Hasler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2019

I already checked the membersOf() function but as we only work with groups like "developers", "users", "admins" this won't be the solution for me. Thank you for the link though, I think this might help:-)

Matthis Thorade
Contributor
November 13, 2024

You can vote for this feature request:

https://jira.atlassian.com/browse/JRACLOUD-77746 

Suggest an answer

Log in or Sign up to answer