Commit Graph

11 Commits

Author SHA1 Message Date
Jacopo 6b0ea951ca Creates /create_merge_request quickaction
With this quick action the user can create a new MR starting from
the current issue using as `source_branch` the given `branch name` and
as `target_branch` the project default branch. If the `branch name` is
omitted a name is automatically created starting from the issue title.
2018-11-14 15:16:19 +01:00
Athar Hameed c22e51e8c1 Resolve "Automatically created MR uses wrong target branch (when branching from Tag)" 2018-06-08 12:28:43 +00:00
Bob Van Landuyt 148816cd67 Port `read_cross_project` ability from EE 2018-02-22 17:11:36 +01:00
Jarka Kadlecová 7e9484e9fa Set target_branch to the ref branch when creating MR from issue 2018-01-17 07:35:23 +01:00
Sean McGivern b1e3cb24fa Execute quick actions when creating MR from issue
In CE, this does nothing - the `MergeRequests::BuildService` will, at the time
of writing, never return a description for this case.

In EE, a project can have a default MR template, which will be returned by the
service. Previously we were only using the description passed in the params,
ignoring any already set on the object. Now we fall back to the one set on the
object if there was none in the params, allowing quick actions to be executed
from default MR templates when creating an MR from an issue.
2017-12-13 10:40:31 +00:00
Vitaliy @blackst0ne Klachkov 5bc32b65f1 Add an ability to use a custom branch name on creation from issues 2017-11-25 22:33:05 +11:00
haseeb 539694a383 [skip ci] changelog and minor style changes added 2017-08-18 20:04:26 +05:30
haseeb d368b2d202 moved merge parms to service 2017-08-17 20:14:37 +05:30
haseeb 59d7ffad06 tests for inheriting milestones and labels 2017-08-11 00:14:15 +05:30
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Alfredo Sumaran b64a37c4ed Allow to create new branch and empty WIP merge request from issue page 2017-05-04 08:09:21 +00:00