How to display worklog date in filter result

Hi guys,

 

I want to know how can I display worklog date in a column on JQL result.

E.g.:

JQL: project = "ABC" AND worklogDate > startOfDay(-3)

 

This filter return a few items, but when I try to add field "worklogDate" as a column in filter result I cant find it.

 

How can add this field in a filter result?

 

Thank you smile

1 answer

1 accepted

1 vote

You can't in most places.  The issue navigator is one of many places you use filters, and the one you're working with now.  This is a view of a filter result that lists one issue per line and gives you a column per field.  Work logs are not fields, so it can't display them.   Even if you could draw them in (hint, script-runner calculated fields...), you need to deal with multiple lines somehow - an issue can have many worklogs, so you'd have to think of how to iterate, extract and display potentially many lines in one box in the navigator.

Nic just one more question. How can I get this field through a script? I mean, it's a native field so I cant get it by using "getcustomfieldvalue" is there anything like a "issue.getDueDate()" or what we want: issue.getworklogdate Thanks

Yes, you can get to it with the API, of course. But re-read my answer - the last sentence.

I can deal with that... ok ill look to API

It is something like issue.getworklogs, then the point kicks in.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,314 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot