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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,964 views 2 7
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