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

Matthias Baudot, modified 1 Month ago.

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

Youngling Posts: 2 Join Date: 10/15/24 Recent Posts
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, modified 1 Month ago.

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

Jedi Council Member Posts: 759 Join Date: 2/12/09 Recent Posts
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, modified 1 Month ago.

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

Youngling Posts: 2 Join Date: 10/15/24 Recent Posts
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, modified 1 Month ago.

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

Jedi Council Member Posts: 759 Join Date: 2/12/09 Recent Posts
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