Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-60022

Need clarification about worklogAuthor (JQL)

    XMLWordPrintable

Details

    Description

      Summary

      Multiple users (A, B and C) log work on an issue (i.e ABC-1) and then, user A runs "worklogAuthor != A" on Issue Navigator.

      Current Result

      It returns all issues where other users have logged work including ABC-1 where user A has log worked too.

      Is this the expected result?

      Workaround

      I think I found a workaround for anyone that finds this ticket in the future:

      1. Define a helper filter called currentUserHasLoggedTime as follows :
        worklogAuthor = currentUser()
        
      2. Then define your real filter like this :
        <<CONDITIONS_YOU_WANT_IN FILTER>> AND filter != "currentUserHasLoggedTime"
        
      3. This does the normal set subtraction we would expect. So for example I created a filter to show unresolved and unassigned tickets that I have not yet worked on :
        resolution = Unresolved AND assignee in (EMPTY) AND filter != "currentUserHasLoggedTime"
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsaputra Adven
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: