Accessing data from jira programatically

I am able to access xml information of a board in browser.<boardid>/SearchRequest-<boardid>.xml


I am able to access it via rest client (without passing authentication details) and in private window (without login to Jira) as well.

But I am not able to access it through Java code. It returns with a Project not found error.


2 answers

This widget could not be displayed.
Vasiliy Zverev Community Champion Jan 10, 2016

Could you provide an example of Java code you use? 

Do you create a plugin or use ScriptRunner to run some code?

The question is "what does your code do differently to the REST browser?". It's obviously sending something incorrect to JIRA.

This widget could not be displayed.

I guess that was because of an authentication error. It works fine when I provide authentication credentials through the REST client.

I am not sure how is it working without login in private window.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

178 views 1 3
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