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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

622 views 6 12
Read article

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