Hello!
I want to add a jql quick filter on jira where it reads one field on the issue mask "departments1" and compares it with the attribute department of the asset object of the current user.
Output:
If you click on the filter it shows all issues where the departments1 is the same as the departments of the current user.
I`ve tried some stuff like this but it doesnt work:
"Departments1" IN iqlFunction("objectType = 'User' AND 'JiraUser' = currentUser()")
"Deparments1" IN iqlFunction('objectType = "JiraUser" AND "JiraUser" = currentUser()')
"Departments1" IN iqlFunction("\"Department\" = \"JiraUser = currentUser()\"")
"Departments1" IN iqlFunction("\"Department\" = ") AND inboundReferences(JiraUser = currentUser())")
Welcome to the community.
Is you user object in assets linked to your Jira user, this is required.
Then you should be able to use, example:
Department1 in iqlFunction("objecttype = User and Name = currentUser()")
Hello!
Thank you for your answser. I tried your example out but it also doesnt work sadly.
The object is connected with me..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.