d57d892e3f
Ability to bulk assign issues to author of merge request ## What does this MR do? Provides a link to auto-assign issues to the author of a merge request, when they are mentioned as being closed by the MR. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? To help avoid working on a MR without having assigned related issues to self ## What are the relevant issue numbers? Fixes #18876 ## Screenshots (if relevant) ![ScreenShot-P216](/uploads/1af5e71a0a0ff0a60c5d7b54c0e09d9c/ScreenShot-P216.png) ## Tasks - [x] Refactor or move away from using `BulkUpdateService` - [x] ~~Consider alternate link message when only a subset of issues will be assigned~~ - [x] Minimize repeated calls to expensive `closes_issues` method - [x] Move away from using inflector for pluralization and fix flash message - [x] Change auth `before_action` and fallback to error flash message - [x] Shouldn't overwrite current assignee if one exists ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - [x] ~~API support added~~ - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5725 |
||
---|---|---|
.. | ||
appearances_helper.rb | ||
application_helper.rb | ||
application_settings_helper.rb | ||
auth_helper.rb | ||
avatars_helper.rb | ||
award_emoji_helper.rb | ||
blob_helper.rb | ||
branches_helper.rb | ||
broadcast_messages_helper.rb | ||
button_helper.rb | ||
ci_status_helper.rb | ||
commits_helper.rb | ||
compare_helper.rb | ||
dashboard_helper.rb | ||
diff_helper.rb | ||
dropdowns_helper.rb | ||
emails_helper.rb | ||
events_helper.rb | ||
explore_helper.rb | ||
external_wiki_helper.rb | ||
form_helper.rb | ||
git_helper.rb | ||
gitlab_markdown_helper.rb | ||
gitlab_routing_helper.rb | ||
graph_helper.rb | ||
groups_helper.rb | ||
icons_helper.rb | ||
import_helper.rb | ||
issuables_helper.rb | ||
issues_helper.rb | ||
javascript_helper.rb | ||
kerberos_spnego_helper.rb | ||
labels_helper.rb | ||
lfs_helper.rb | ||
members_helper.rb | ||
merge_requests_helper.rb | ||
milestones_helper.rb | ||
namespaces_helper.rb | ||
nav_helper.rb | ||
notes_helper.rb | ||
notifications_helper.rb | ||
page_layout_helper.rb | ||
preferences_helper.rb | ||
projects_helper.rb | ||
runners_helper.rb | ||
search_helper.rb | ||
selects_helper.rb | ||
sentry_helper.rb | ||
services_helper.rb | ||
sidekiq_helper.rb | ||
snippets_helper.rb | ||
sorting_helper.rb | ||
submodule_helper.rb | ||
tab_helper.rb | ||
tags_helper.rb | ||
time_helper.rb | ||
todos_helper.rb | ||
tree_helper.rb | ||
triggers_helper.rb | ||
u2f_helper.rb | ||
version_check_helper.rb | ||
visibility_level_helper.rb | ||
workhorse_helper.rb |