workedIssues JQL function from Timesheet plugin returning different results in Issue Navigator and JIRA CLI?

I'm using the Timesheet add-on in JIRA OnDemand and finding that queries with the workedIssues JQL function as documented in item 6. on the add-on's wiki return as expected in the issue navigator but always return 0 issues via the getIssueList action of the CLI (in eirther the filter or search parameter) while queries with other built-in JQL functions return the same in both cases.

For example when I enter the following query in my issue navigator:

key in workedIssues("2014/03/01", "2014/03/06", "jira-users")

it returns 108 issues but when I run the following from the CLI (note the escaping needed)

jira --action getIssueList --search "key in workedIssues(\"2014/03/01\", \"2014/03/06\", \"jira-users\")" --outputFormat 1 --dateFormat "yyyy-MM-dd" --file jira_issues.csv --append

it reports 0 issues in the command line and doesn't write anything to file. I raised this issue initially at the end of another thread and moving it here to hopefully get more focus. Anyone have an idea what's going on?

1 answer

For what it's worth, workedIssues() function is declared to return JiraDataTypes.ISSUE.

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,026 views 12 18
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