Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

search in worklogComment field does not return expected result

Emil_Walczyk June 12, 2020

I need to check whether my team fills Work Description field. I thought I could search through issues checking whether the worklogComment field has "No description" value but I'm not getting the results I wanted.

I used advanced search:

assignee = currentUser() and worklogComment ~ "\"No description\""

and I'm getting the

"No issues were found to match your search" 

reply where I have intentionally created an issue assigned to myself, logged work and left the Work Description field unfilled which leaves the field with "No description" text on default.

Where's the catch? Please advice.

1 answer

1 accepted

0 votes
Answer accepted
Randy
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.
June 12, 2020
try:
worklogComment is empty
Emil_Walczyk June 14, 2020

Actually that return no result. And when I put a specific string in the Work Log Description fields, say "test123" and look for it with:

 

assignee = currentUser() and worklogComment ~ "test123"

 

it doesn't get anything either.

Randy
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.
June 15, 2020

Is it actually assigned to you when you test the jql?  If you remove the assignee condition in your JQL do you get the issue returned?

 

e.g.

worklogComment ~ "test123"
Emil_Walczyk June 16, 2020

Hi Randy,

 

yes: worklogComment ~ "test123" returned jira issue I was looking for. It seems that no assignee is necessary for that search.



Alexander Eck [Tempo]
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.
June 24, 2020

You can of course also search for

worklogAuthor = currentUser() 
Like Randy likes this

Suggest an answer

Log in or Sign up to answer