Use getAssignees API to retrive assignees list #200

Closed
opened 2020-06-03 22:44:47 +00:00 by 6543 · 9 comments
Member

If repo is a org repo - cant select a user from a team as assignee

If repo is a org repo - cant select a user from a team as assignee
6543 added the
🎯 Enhancement
label 2020-06-03 22:44:47 +00:00
6543 self-assigned this 2020-06-03 22:45:27 +00:00
Author
Member

Think this depends on #201

Think this depends on #201
Owner

As discussed an Assignees API would work best in this case.

As discussed an Assignees API would work best in this case.
mmarif added the
🛰️ API-dependency
label 2020-10-12 17:56:24 +00:00
Author
Member
https://github.com/go-gitea/gitea/issues/13120 ...
Owner

I think the right issue here is #7 as this totally different.

Should I open a new request for this API?

I think the right issue here is #7 as this totally different. Should I open a new request for this API?
Author
Member

api endpoint mentioned in 7 has a total different meaning (it add/remove repos to teams who have no org-wide permissions)

api endpoint mentioned in 7 has a total different meaning (it add/remove repos to teams who have no org-wide permissions)
Author
Member
https://github.com/go-gitea/gitea/issues/14856 will be more exact ...
Author
Member
  • GET /repos/{owner}/{repo}/reviewers
  • GET /repos/{owner}/{repo}/assignees

are added with https://github.com/go-gitea/gitea/pull/16168 and released (v1.15.0)

* `GET /repos/{owner}/{repo}/reviewers` * `GET /repos/{owner}/{repo}/assignees` are added with https://github.com/go-gitea/gitea/pull/16168 and released (v1.15.0)
6543 removed the
🛰️ API-dependency
label 2021-09-22 02:00:24 +00:00
6543 removed their assignment 2021-10-07 20:35:25 +00:00
6543 changed title from Add team members to assignees list to Use getAssignees API to retrive assignees list 2022-03-14 13:33:56 +00:00
6543 added the
🐛 Bug
label 2022-03-14 13:34:10 +00:00
Author
Member

we do use the collaborator api:

https://codeberg.org/gitnex/GitNex/src/branch/main/app/src/main/java/org/mian/gitnex/actions/AssigneesActions.java#L69

but not the dedicated api - that should solfe the bug mentioned at #1078 and other edgecases, as gitea does the calculation who can be assigned for us

we do use the collaborator api: https://codeberg.org/gitnex/GitNex/src/branch/main/app/src/main/java/org/mian/gitnex/actions/AssigneesActions.java#L69 but not the dedicated api - that should solfe the bug mentioned at #1078 and other edgecases, as gitea does the calculation who can be assigned for us
6543 added this to the 4.3.0 milestone 2022-03-14 13:35:34 +00:00
Owner

I don't know if it's a bug, to me it's an improvement.

I have tried the assigness API and it return the required list.

I will work on this.

I don't know if it's a bug, to me it's an improvement. I have tried the `assigness` API and it return the required list. I will work on this.
mmarif self-assigned this 2022-03-14 14:11:57 +00:00
mmarif removed the
🐛 Bug
label 2022-03-15 14:33:05 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#200
No description provided.