It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira cli getIssueList returns fewer issues than expected

Hello there..

I expect the below line to return about 2000 issues, but when I run it it returns on 400, it there a way to bump up a limit to say 3000.

./jira.sh --server https://abc.com --action getIssueList --columns 'key,reporter,assignee,"Auto Lead"' --search "filter = my_filter" --outputFormat 999 --file "/data/jira-next/jira-cli-4.0.0-SNAPSHOT/jira_other_fields.csv"

Thanks..

2 answers

0 votes
Timothy Community Leader Feb 06, 2015

There are a number of search configurations you need to check before assigning the blame to CLI.

Does a smaller result set return the desired result? You might want to look at the atlassian-jira/WEB-INF/classes/jpm.xml for these few options (or more):

  • jira.search.views.max.unlimited.group
  • jira.search.views.max.limit

Hope this helps.

The JCLI getIssueList doesn't have a limit (other than your client's java memory setting). It should return all issues that satisfy the filter. There has been a report of a case that JIRA was not returning all the data so a new REST based implementation was added and this did work correctly in that situation. This is documented in JCLI-492. To use the new support use the jql parameter (instead of search) with your direct JQL or using the JQL: filter = "<my filter name>".

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

67 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you