Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting permission error for few users during performance testing

Deleted user July 14, 2023

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?

2 answers

1 accepted

0 votes
Answer accepted
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2023

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.

Deleted user July 14, 2023

Hi @Tim Perrault 

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.

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2023

@[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?

  1. Please set com.atlassian.jira.logincom.atlassian.jira.login.security to DEBUG in Administration > System > Troubleshooting and Support > Logging and Profiling.
  2. Have the user (attempt to) login.
  3. Set those log levels back to the WARN so they don't spam the logs.

KB Article 

Deleted user July 14, 2023

@Tim Perrault 

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?

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2023

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

Like Deleted user likes this
0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2023

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

Deleted user July 14, 2023

Hi @Ravi Sagar _Sparxsys_ 

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events