How to enable anonymous Remote/REST API in Jira

I have a plugin which enables a custom field to query back to the Jira Remote/REST API. This works fine when the user creating the Issue with the custom field is authenticated. However, when I enable anonymous Issue creation, the REST calls from the custom field plugin return a 401 (Unauthorized). How do I enable anonymous access to the REST services in Jira?

Browser JS Console shows the following:

2 answers

1 accepted

Accepted Answer
0 votes

I believe that one needs to at @AllowAnonymous annotation to the implementation in order to allow this. It does not seem to be configurable.

That is correct and has been introduced in our latest release.




You can try to set the Browse issue permission to group Anyone.



Thank you for that suggestion. I didn't find a Browse Issue permission, but did apply Anyone to the Browse Project permission. Unfortunately, the behavior with regard to this issue was not resolved, although much more System Dashboard was shown to the anonymous users...

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...

25,536 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