Hello,
If I go into Issues>Search for Issues, type in my JQL, then click Export>HTML(Current Fields) it makes a nice html web page. If I hover over HTML(Current Fields) it gives me the following URL:
<local jira URL>/sr/jira.issueviews:searchrequest-html-current-fields/temp/SearchRequest.html?jqlQuery=project+=+<projectname>+AND+fixVersion+=+<version>+ORDER+BY+key+ASC&tempMax=1000
When i go on command line and do
wget <local jira URL>/sr/jira.issueviews:searchrequest-html-current-fields/temp/SearchRequest.html?jqlQuery=project+=+<projectname>+AND+fixVersion+=+<version>+ORDER+BY+key+ASC&tempMax=1000 > saveJIRA.html
it returns with a 400 error. I am guessing this is because I did not include authentication information and our JIRA and the project itself are locked by user groups.
So I tried
wget <local jira URL>/sr/jira.issueviews:searchrequest-html-current-fields/temp/SearchRequest.html?os_username-<myusername>&os_password=<mypassword>&jqlQuery=project+=+<projectname>+AND+fixVersion+=+<version>+ORDER+BY+key+ASC&tempMax=1000 > saveJIRA.html
And that generated two files. saveJIRA.html which is blank, and SearchRequest.html|?os_username=<myusername> which actually looks kind of like the page I was expecting except it says displaying 0 issues and there are no issues listed.
So what am I missing here?
Thank you!
I tried
wget <local jira URL>/sr/jira.issueviews:searchrequest-html-current-fields/temp/SearchRequest.html?os_username=<myusername>&os_password=<mypassword>&jqlQuery=project+%3D+<projectname>+AND+fixVersion+%3D+<version>+ORDER+BY+key+ASC&tempMax=1000
And it does go through (authenticates)... i think. But results are still blank. But if I paste it into my browser, I get actual results.
Now that I think about it, could it be that the issue is that from command line it doesn't know what "current search" is and if I did "all fields" it'd be fine? Or maybe there is a way to specify which fields (since I definitely do not want all of them in this file).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.