Going Stellar

Home/JQL reference

JQL function

currentLogin() in JQL: syntax and examples

currentLogin() stands for the time your current session started. It marks the edge between the previous session and this one, so a date field compared with it shows what happened since you signed in. It is the partner of lastLogin(), which points one session earlier.

Syntax

c
u
r
r
e
n
t
L
o
g
i
n
(
)

Works with

  • Fields: Created, Due, Resolved, Updated, custom fields of type Date/Time
  • Operators: =, !=, >, >=, <, <=, and inside WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED predicates
  • Not with: ~, !~, IS, IS NOT, IN, NOT IN

Examples

updated > currentLogin()

What changed since you signed in for this session. Keep it open in a tab to watch the day's activity.

Run on Jira Cloud on .

created > currentLogin() AND project = WEB

New tickets on the website project since you started this session.

Run on Jira Cloud on .

updated >= lastLogin() AND updated < currentLogin()

Changes made between your previous session and the start of this one, which are the things you missed while away. Combine both functions to draw that window.

Run on Jira Cloud on .

duedate >= currentLogin() AND duedate <= endOfDay("+7d") AND statusCategory != Done

Open work due from the moment you signed in through the next seven days. A due date has no time of day, so the lower bound mostly acts as a date.

Run on Jira Cloud on .

updated > currentLogin() AND project = MOB ORDER BY updated DESC

Mobile project activity since you began this session, newest change first.

Run on Jira Cloud on .

Pitfalls

  • Like lastLogin(), it takes no argument. created > currentLogin("-1d") fails with "Function 'currentLogin' expected '0' arguments but received '1'."
  • Compare it with a date-time field. Used with duedate it works, but a due date carries no time, so the comparison only looks at the day.
  • A new session resets the boundary. The filter you saved empty an hour ago may be full after the next login, and the reverse. Pin the date explicitly if you need a repeatable report.
  • Test it in the browser session you will really use. Searches sent through the REST API with an API token matched no work items for updated > currentLogin() (checked on Jira Cloud, November 2026).

Questions and answers

What is the difference between currentLogin() and lastLogin()?

currentLogin() is when your current session began. lastLogin() is when the one before it began.

Sources

  1. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages