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
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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

80 views 0 5
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