how can i export issues from ASF JIRA?

hemaa mathavan March 2, 2016

does ASF JIRA also aupport REST API.Then  how to access the end point to export all the issues of the project PIG.can JQL be used

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 2, 2016

What is an ASF JIRA?  More importantly, what version is it, where is it running and what are you actually trying to do here?  A simple search for "project = pig" will get you a list of issues in the project

hemaa mathavan March 2, 2016

asf jira- apache software foundation JIRA

https://issues.apache.org/jira/secure/Dashboard.jspa

how to write a curl command to retrive all the issue of project-PIG (especially in JSON format)

 

hemaa mathavan March 2, 2016

i am pretty much new to JIRA and CURL command. i tried to formulate the curl command by goins through the following Atlassian blog https://confluence.atlassian.com/jirasoftware/blog/2015/06/search-jira-like-a-boss-with-jql

The command is

curl -D -u hema:password -X get "http://jira.atlassian.com/rest/api/latest/search?jql=project%3DPIG"

This gives me the following error" PIG is not a valid project"

i can understand pig is a part of ASF JIRA "https://issues.apache.org/jira/browse/PIG/". Even the following command wont return me an json object

curl -D -u hema:password - H "content-type application/json" -X get "https://issues.apache.org/jira/issues/?jql=project%20%3D%20PIG"

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2016

Er, you need to look at the urls you're using.  Your REST call is not going to the ASF system.

Suggest an answer

Log in or Sign up to answer