Use getAssignees API to retrive assignees list #200
Labels
No Label
⌚ Major-release
⌚ Minor-release
⚔️ Wontfix
⚙️ CI
⛏️ Breaking
✨ Duplicate
❌ Invalid
❓ Question
❤️ Support
➡️ Frontport
➡️ Needs-frontport
🔙 Backport
💭 Brainstorming
🐛 Bug
🔭 Cannot-reproduce
🧺 Cleanup
🧾 Confirmed
💬 Discussion
📄 Documentation
🎯 Enhancement
🩹 External-dependecy
📱 F-droid
🎉 Feature
👋 Good-first-issue
🤾 Google-play
🔙 Has-backport
🚀 Improvement
🚨 Investigate
🌠 Long-term
🔙 Needs-backport
🧺 Needs-cleanup
📡 Needs-feedback
📈 Performance
📌 Priority-critical
📌 Priority-high
📍 Priority-low
📍 Priority-medium
🥑 Ready
🪒 Refactor
🔙 Regression
📸 Release
🔒 Security
💡 Suggestion
🧪 Testing
🌐 Translation
💻 UI/UX
🪜 Upstream
🟦 Website
🙇♂️ Needs-help
🛰️ API-dependency
🛡️ Blocked
🏗️ Build
🗒️ Changelog
🗄️ Repository
🗓️ Summary
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#200
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If repo is a org repo - cant select a user from a team as assignee
Think this depends on #201
As discussed an Assignees API would work best in this case.
https://github.com/go-gitea/gitea/issues/13120 ...
I think the right issue here is #7 as this totally different.
Should I open a new request for this API?
api endpoint mentioned in 7 has a total different meaning (it add/remove repos to teams who have no org-wide permissions)
https://github.com/go-gitea/gitea/issues/14856 will be more exact ...
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)
Add team members to assignees listto Use getAssignees API to retrive assignees listwe 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
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.