Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25220

AD/LDAP directory user who is no longer in that directory cannot be removed from Project Role within a Project

      User "A" was in the Role of Developer for a JIRA Project. User "A" was a user that came from an external AD/LDAP directory. When that user was removed from the AD/LDAP directory, the project manager tried to remove that user from the Developer Project Role w/in the Project. However JIRA puts up an error message that the user cannot be found and therefore cannot be removed from the Project Role.

      Need to be able to remove users from Project Roles when they no longer exist in an external AD/LDAP directory.

      In our instance we're using embedded Crowd for connection to AD. (We're not using the standalone Crowd app)

      See attached image.

            [JRASERVER-25220] AD/LDAP directory user who is no longer in that directory cannot be removed from Project Role within a Project

            PeterL added a comment -

            edalgliesh please contact your support team for futher informations. They were able to reproduce the problem with the latest jira version (see https://jira.atlassian.com/browse/JRA-34563).

            PeterL added a comment - edalgliesh please contact your support team for futher informations. They were able to reproduce the problem with the latest jira version (see https://jira.atlassian.com/browse/JRA-34563 ).

            ediri added a comment -

            edalgliesh good to know, i just tried to guess what could be the reason.

            ediri added a comment - edalgliesh good to know, i just tried to guess what could be the reason.

            I've created another issue to investigate this at JRA-34577 - I suspect there's an edge case we've missed.

            engin.diri, zeilush, and anyone else still encountering this issue after upgrading to JIRA 5.2.6 or later, if you could add any details about your LDAP setup on that issue, that would go a long way towards helping us figure out what's going on.

            engin.diri, this definitely made its way to the master branch.

            Eric Dalgliesh added a comment - I've created another issue to investigate this at JRA-34577 - I suspect there's an edge case we've missed. engin.diri , zeilush , and anyone else still encountering this issue after upgrading to JIRA 5.2.6 or later, if you could add any details about your LDAP setup on that issue, that would go a long way towards helping us figure out what's going on. engin.diri , this definitely made its way to the master branch.

            ediri added a comment - - edited

            Hi edalgliesh,

            I can confirm the issue, as described from zeilush, it is still present and honestly quite annoying.

            As it appears to be already fixed in version (minor version) 5.2.6 and 6.0-OD-06, I think its just did never found its way back to the main trunk?

            Can u verify this?

            Cheers!

            ediri added a comment - - edited Hi edalgliesh , I can confirm the issue, as described from zeilush , it is still present and honestly quite annoying. As it appears to be already fixed in version (minor version) 5.2.6 and 6.0-OD-06, I think its just did never found its way back to the main trunk? Can u verify this? Cheers!

            PeterL added a comment -

            Hi edalgliesh,

            as JRA-30407 is a duplicate, i posted it here.

            We exactly have the problem described in JRA-30407.

            Currently there are 2 workarounds to solve this problem.

            #Restart JIRA --> Deleted users will be automatically removed from project roles
            #Create a local user with the same username as the deleted user and remove this user from the project role

            PeterL added a comment - Hi edalgliesh , as JRA-30407 is a duplicate, i posted it here. We exactly have the problem described in JRA-30407 . Currently there are 2 workarounds to solve this problem. #Restart JIRA --> Deleted users will be automatically removed from project roles #Create a local user with the same username as the deleted user and remove this user from the project role

            Hi zeilush,

            Are you seeing this issue, or JRA-30407 or both? It's possible we may have erroneously resolved JRA-30407 as a duplicate.

            Regards,
            Eric

            Eric Dalgliesh added a comment - Hi zeilush , Are you seeing this issue, or JRA-30407 or both? It's possible we may have erroneously resolved JRA-30407 as a duplicate. Regards, Eric

            Thanks tini, we had a bad Hercules match on this issue which has been directing people here when it should not have been. I've removed the regular expression causing this.

            Eric Dalgliesh added a comment - Thanks tini , we had a bad Hercules match on this issue which has been directing people here when it should not have been. I've removed the regular expression causing this.

            Tini Good added a comment -

            This error is showing up in my Hercules scan of a JIRA 6.0.4 installation. I've manually verified all project roles are clean, so I've ignored the error for now. (I have performed a Log Rollover.)

            Tini Good added a comment - This error is showing up in my Hercules scan of a JIRA 6.0.4 installation. I've manually verified all project roles are clean, so I've ignored the error for now. (I have performed a Log Rollover.)

            PeterL added a comment -

            We are using version 6.0.2 and still have the described behavior (precisely described in JRA-30407). This bug is not fixed in version 6.0.2. Please reopen this issue.

            PeterL added a comment - We are using version 6.0.2 and still have the described behavior (precisely described in JRA-30407 ). This bug is not fixed in version 6.0.2. Please reopen this issue.

            Found one issue with the error message when trying to associate non-existent user to project role. But I think this can be solved as separate issue (JRA-31463).
            edalgliesh, if you don't agree then reject this.

            Aleksander Mierzwicki ☁ added a comment - Found one issue with the error message when trying to associate non-existent user to project role. But I think this can be solved as separate issue ( JRA-31463 ). edalgliesh , if you don't agree then reject this.

              edalgliesh Eric Dalgliesh
              14bc6f9bf9fb David Goldstein
              Affected customers:
              7 This affects my team
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: