JQL for displayname

daniel_hedberg November 27, 2017

Hi

Is it possible to use JQL to compare the display name similar to how currentUser()) works? 

Like this: status in ("In Progress", "To Do") AND assignee in (currentUser())


But for displayname status in ("In Progress", "To Do") AND assignee in "displayname"

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2017

Hello,

if you use IN operator, then it must be assignee in ("userkey"). You can type the display name of the user and Jira will put the userkey itself.

daniel_hedberg November 27, 2017

Is it possible to get the currentuser "Displayname" this way?

 

We basically want to create a filter that filters on a display name instead of username

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2017

No, it is not possible. But why would you need that? More than one user has the same displayname and you want to query issues for those users?

Suggest an answer

Log in or Sign up to answer