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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 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