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

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.

Regards,

Florin.

Hi,

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

Regards,

Florin.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

168 views 0 2
Read article

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