I'm attempting to get the --search function of the JIRA.BAT CLI to return a list of issues, but it seems to be taking an inordinate amount of time.
c:\> jira --action getIssueList --search "project=Engineering and fixversion='22.214.171.124'" and it just hangs.
if I remove the "and fixversion" part, I get an error message indicating that I can't get a result set of more than 1000 results and the current search returns 4994...so it's communicating, authenticating, etc. I looked around here and it seems like I'm doing it correctly, based on what I've read.
Can somebody point me in a different direction?
Updated: this is *dog slow*...but it eventually returned a significant amount of information. More fiddling and I tried to use a filter instead of a search, which helped the speed some. In both cases, I'm still getting a large number of fields, as opposed to the ones which actually show up in the filter itself, so I'm now modifying this question to "how do I specify the fields/columns on the search?"
If your query returns a large number of issues, it will be slow :(. Using a filter helps as it has batching support (the 1000 upper limit on filter results can be modified in your JIRA instance). Increasing your java client memory will help as well. You will be get the standard fields (for the default outputFormat) no matter what the filter has - the filter is used to determine the issues only.
Thanks, Bob. I notice that the OutputFormat parameter allows a finer degree of granularity on fields returned, but I can't find any documentation on the field options (and what each returns?) There seems to be a OutputFormat of 200 that gives me a much smaller subset - but I'm not sure where 200 is defined (or documented?)
There is no documentation on what is returned for each field - you have to see by example. Output formats available are documented in the last column on the table from Documentation - it is minimal at this time. Format 200 was a legacy format that will no longer be provided.
Can we retrieve values based on field.If i just need value of particular field.Is it possible using getIssueList?I was trying to retrieve list of KEYS based on a search query.But i havnt find any option for fatching the data only for a particular field.It would be awesome if getIssueList can retun values of some particular fields based on option choosen.
Thanks in advance.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG