- changed status to open
REST call uses wrong username when username has been renamed
Steps to reproduce:
- Create user with username xyzabc
- Rename the username to abcxyz
- Go to the scheduler project tab
- Create a new scheduled issue
- The project field and issue type field remain empty
=> The user cannot create a scheduled issue
In chrome when you check the network connections, you'll see that a rest call is made with the old username and this doesn't return any result
<jira_host_name>/rest/thescheduler/1.0/project?userKey=xyzabc
I disabled and enabled the plugin, but this didn't have any effect.
Comments (4)
-
-
reporter Hi Lukasz,
There seems also another problem, I thought the rest call (/rest/thescheduler/1.0/project?userKey=office06) didn't give a reply because the user name was wrong. But it turns out that it only gives a reply when the user has jira-administrator rights. If not, then you'll get the following result:
{"errors":[{"project":"Invalid Project ID"}]}
I checked all permissions of the user:
- User has project admin permission in the project
- User was added in the Manage access section of the Scheduler plugin as allowed user.
I don't know if it matters, but we are using a permission scheme with only project roles and no groups.
Br,
Devid
-
- marked as blocker
Thank you for additional details.
We also noticed this and we are working on fix.
-
- changed status to resolved
Hi Devid,
Again thank you for reporting this.
We have fixed this issue in today's release of version 5.0.8.
Please upgrade plugin.
Cheers,
Łukasz
- Log in to comment
Hi Devid,
Thank you for reporting this issue.
We are investigating this right away.
Cheers,
Łukasz