gitlab-org--gitlab-foss/spec/features
Douwe Maan d57d892e3f Merge branch 'assign-issues-for-merge-request-18876' into 'master'
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
2016-10-11 17:20:38 +00:00
..
admin Handle unavailable system info 2016-08-25 08:28:35 +01:00
atom
boards Update issue board spec 2016-10-06 17:51:02 -05:00
dashboard Fix snippets pagination 2016-09-26 12:42:12 +02:00
groups/members
issuables
issues Merge branch 'master' into revert-c676283b 2016-10-04 08:17:05 +01:00
merge_requests Added link to bulk assign issues to MR author. (Issue #18876) 2016-10-06 13:37:37 +01:00
profiles Convert "SSH Keys" Spinach features to RSpec 2016-10-03 11:00:05 +02:00
projects Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
protected_branches Move protected branches access control spec into a shared example. 2016-08-20 00:24:12 +05:30
security Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
tags
todos Added test for due date 2016-10-03 09:55:12 +01:00
users Fix snippets pagination 2016-09-26 12:42:12 +02:00
calendar_spec.rb Changed zero padded days to no padded days in date_format 2016-10-01 12:18:44 -05:00
ci_lint_spec.rb
commits_spec.rb
compare_spec.rb Changed compare dropdowns to dropdowns with isolated search input 2016-09-27 20:37:13 +01:00
container_registry_spec.rb
dashboard_issues_spec.rb Small improvements thanks to Robert's feedback 2016-09-30 12:02:54 +02:00
dashboard_milestones_spec.rb
environments_spec.rb Deletes extra empty line breaking the build 2016-10-07 15:56:37 +01:00
expand_collapse_diffs_spec.rb Merge branch '21369-make-it-clearer-that-diffs-can-be-collapsed' into 'master' 2016-10-01 10:59:32 +00:00
gitlab_flavored_markdown_spec.rb
groups_spec.rb Correct namespace validation to forbid bad names #21077 2016-10-07 13:46:59 -05:00
help_pages_spec.rb
issues_spec.rb Merge branch 'master' into revert-c676283b 2016-10-03 09:10:20 +01:00
login_spec.rb
markdown_spec.rb
milestone_spec.rb Ensure validation messages are shown within the milestone form 2016-09-19 09:29:12 +01:00
notes_on_merge_requests_spec.rb Adds v-pre to code blocks in comments 2016-10-04 14:06:44 +01:00
participants_autocomplete_spec.rb
password_reset_spec.rb
pipelines_settings_spec.rb
profile_spec.rb
projects_spec.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
protected_branches_spec.rb Move protected branches access control spec into a shared example. 2016-08-20 00:24:12 +05:30
runners_spec.rb Fix grammar and typos in Runners pages 2016-09-28 10:03:59 +02:00
search_spec.rb Fixed search dropdown labels not displaying 2016-09-12 09:00:57 +01:00
signup_spec.rb
snippets_spec.rb Fix snippets pagination 2016-09-26 12:42:12 +02:00
task_lists_spec.rb Shorten task status phrase 2016-08-29 10:46:36 -05:00
triggers_spec.rb Fix failing rspec test for triggers 2016-09-06 11:52:01 +02:00
u2f_spec.rb Pass the remember_me option into the u2f form and support it while authenticating 2016-09-01 17:11:42 -07:00
unsubscribe_links_spec.rb Wrap List-Unsubscribe link in angle brackets 2016-09-26 16:01:17 +01:00
users_spec.rb Fix users feature spec 2016-10-06 19:50:48 +03:00
variables_spec.rb