how can i export issues from ASF JIRA?

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

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

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)

 

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"

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,960 views 2 7
Join discussion

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