Getting Permission violation on accessing a link in jira


I am working on jira-importers-plugin customization to a normal user/group. I have been changed atlassian-plugin.xml and remaining files in this plugin and made the link to outside the administration.

But when i click on 'External Import' link i am getting "Permission Violation" error as "user does not have permission to access this page".

Why it is happening. In standalone application i am not getting this error, imported succesfully. But in test machines i am getting above error.

Could you please tell me, weather jira checking permissions any where for the link. Where i need to do changes please help me.



1 answer

1 accepted

By changing @WebSudoRequired to @WebSudoNotRequired annotation rectified the problem.

Hi Rambabu,

I am facing similar issue in my custom importer. May I know for which methods we need to add @WebSudoNotRequired annotation to avoid "Permission Violation" error.

Thanks in advance.


Hi Srinivas, In and files you need to change the annotations from @WebSudoRequired to @WebSudoNotRequired.



Hi Rambabu,

Thanks a lot for your response.

As I am writing custom importer, how to change these annotations as they are part of actual importer?

In custom impporter I have included its dependency as provided so please let me know how to change this in that case?









Hi Srinivas,

In that case you can override the classes ExternalImport and ImporterProcessSupport,and change the annotations from @WebSudoRequired to @WebSudoNotRequired and then you can use the overridden classes in your custom importer.



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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

102 views 0 2
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