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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 14 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

41 views 1 0
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