I want to create a filter that will display all JIRAs in a portfolio based on who the current user is. Something like this:
Portfolio in (currentUser(portfolio))
Is there a way to do this? Are there traits within the currentUser keyword?
Just to clarify, you are using Jira cloud premium and want to have an Advanced roadmaps (Plan) that shows everything assigned to whoever looks at that plan based on a filter using the current user functionality?
If so, I have just done an experiment. I used the following JQL:
assignee = currentUser() AND statusCategory != Done
and yes!!! It works.
So it seems the assignee = currentUser() is all you need. How you configure beyond that, is up to you.
I am looking for more than what is assigned to them - you may have multiple Reporters / Requesters who are in one portfolio, so I want to make it dynamic that whenever anyone from that portfolio checks the filter, it will only show up with issues that they are also in the same portfolio.
(And since you can have a number of different portfolios, this needs to be done by "currentUser()" or something like that in order to pull everything up that is in that portfolio.)
In this case, your definition of "Portfolio" is the contents of a Jira Plan, is that right? or am I missing something??
I am not sure how to answer your question, so let me give you a bit of background:
Each user has different "assignments" - users can be assigned to permissions Groups and have different access levels within JIRA, and they are assigned to a Department (based on Company Org Chart). Departments roll up into "Portfolios" which is how we track requests. (So, someone in Marketing and Finance can be in 2 different departments, but their departments roll up to 1 portfolio - as an example.)
So, I want to take the currentUser(), see what portfolio they are in, and give them a filter to see all requests within that portfolio. (So the user in Marketing can see all all requests in this Marketing / Finance Portfolio, and the user in Finance would see the same. However someone from HR would use the same filter and see what is in their Portfolio...)
Hope it is a bit clearer.
It looks like you're new here. Sign in or register to get started.