GitLab integration doesn't list users with Owner role for Assignee

Matthias Baudot, geändert vor 1 Monat.

GitLab integration doesn't list users with Owner role for Assignee

Youngling Beiträge: 2 Beitrittsdatum: 15.10.24 Neueste Beiträge
When I want to create a new GitLab issue from Klaros Test Management, the Assignee drop-down doesn't list any user with the "Owner" role in GitLab.
Is it expected or is this a bug. For us, it is a problem to not be able to assign an issue to users with Owner role from Klaros.
thumbnail
Torsten Stolpmann, geändert vor 1 Monat.

RE: GitLab integration doesn't list users with Owner role for Assignee

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hello Matthias,

thank you for your feedback.

We are  calling the getProjectMembers method directly on the GitLab API to determine the list of assignable users for the Assignee drop-down.

So I am unsure what could be changed on our side to help you with your problem.

Regards,

Torsten
Matthias Baudot, geändert vor 1 Monat.

RE: GitLab integration doesn't list users with Owner role for Assignee

Youngling Beiträge: 2 Beitrittsdatum: 15.10.24 Neueste Beiträge
Thank you very much for your reply.

I did some additional checking and actually, the getProjectMembers (/members) only returns direct members and not inherited members through ancestors groups as stated here: https://docs.gitlab.com/ee/api/members.html

I believe it would make more sense to use the method at /members/all (https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-and-invited-members) since this one returns all project members including inherited members, invited users, and permissions through ancestor groups, which any of those could, in theory, get assigned to an issue.

I did try on our project and verified that /members/all returned the results I would expect.

What do you think?
thumbnail
Torsten Stolpmann, geändert vor 1 Monat.

RE: GitLab integration doesn't list users with Owner role for Assignee (Antwort)

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hello Matthias,

thank you for the deep dive into this issue, this is much appreciated.

We implemented this solution as issue KLAROS-5356, it will be available with the upcoming 5.7.0 release in early November.

Regards,

Torsten