Hi,
I'm currently learning JQL and enrolled for the "Gain Project Insights through JQL" course in the Atlassian University. One of the courses resources is the JQL Cheat Sheet.
In the JQL Cheat Sheet it says that the function "currentLogin()" is associated with the data field type "People". But from my understanding the correct field must be the data field type "Time".
I think this is also what the Documentation says. Or am I missing something?
Can you please let me know what is correct?
Kind regards,
Svenja
JQL Cheat Sheet Screenshot
I received an answer from the Atlassian Support:
"Hi Svenja,
You are correct, this is a typo. The currentLogin() function performs searches on the time at which the current user's session began and supports time fields. You can see details of this function, and many others, on https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/.
I'll request the cheat sheet be updated.
Thanks,
Mary
cc Mark Liutyi
currentLogin() is looking at your current user session based on time. It is going to find all the issues for the user based on the current session and uses time to do so. So the comparison is time and the search is time based on the user session. I am assuming that they have it under people since it uses the user's session even though the actual search is comparing time.
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.