Forums

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

in JQL how can I use a currentUser property to find other issues

jgiraldo1 August 18, 2023

I've created a user property called teamleader when I am maintain the jira username of the manager of each user.

Now, I JQL I want to find all issues for which the assignee has the current user's same teamleader so it essentially gets all issues that belong to the currentUser's team. 


assignee in jiraUserPropertyEquals(teamleader, <teamleader username>)

just that instead of hardcoding the <teamleader username>, I would want that calculated based on the current user

something like

assignee in jiraUserPropertyEquals(teamleader, currentUserProperty(teamleader))

where currentUserProperty(teamleader) would return the currentUser teamleader property

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
October 25, 2023

Hi @jgiraldo1

Were you able to find a solution for this requirement?

Thank you and Kind regards,

Ram

jgiraldo1 October 25, 2023

@Ram Kumar Aravindakshan _Adaptavist_ nope not yet, based on the research I've done I will have to build a custom function for this, but haven't done that yet. 

Suggest an answer

Log in or Sign up to answer