We are performing load testing in our data center environment. While few bot ids are performing edit operation in Jira we get the below 404 error message:
{
"errorMessages": [
"Specified user does not exist or you do not have required permissions"
],
"errors": {}
}
Can someone suggest a workaround to rectify this issue?
Hi @[deleted]
First things first, check if the users exist in the system. Search for the username they are trying to use. Make sure they are in the correct groups and are active. If they exist, go into each project and check the permissions to make sure they have the browse and edit permissions at minimum.
I have checked all the permissions and user management in Jira. Everything looks perfect. I can manually login as the user and create, edit issues in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted]
So it actually sounds like Jira is fine then. With the load testing are all the parameters entered correctly? Maybe human error with username/password connection?
Are you able to look at the logs?
com.atlassian.jira.login
& com.atlassian.jira.login.security
to DEBUG in Administration > System > Troubleshooting and Support > Logging and Profiling.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the response.
But I can see successful logins by the bot during load testing.
So will this workaround help me sort this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted]
The fixes mentioned at the top of article probably won't do anything for you. Really I just want you to look at the further troubleshooting section. With turning up the logging, we will hopefully be able to narrow down the cause of the issue when the bot is logging in. We know you will see successful logins because you can manually login successfully. So we need to turn up the logging to see why it's failing when not manually logged in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
Most likely you need to add that user or whatever bot you are using to a group to give more permissions. For instance if a user has Jira administration right then it doesn't mean that user also has rights to perform edit, also check your permission schemes which is applicable on those issues/projects.
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any logged in user can edit the issue in the project. Also I can manually perform edit operation if I logged in as that user. I do not see any problem with the permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.