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

0 votes
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,165 views 5 10
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