diff options
author | Sean McGivern <sean@gitlab.com> | 2017-12-08 16:34:54 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-12-13 13:40:31 +0300 |
commit | b1e3cb24fa777bc6776c7602935876f546383a38 (patch) | |
tree | 7351f08e3421671ded350075831b68bafcefe600 /changelogs | |
parent | 9429e8ac60a10436a0469d7d206d3f74a2c966c7 (diff) |
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.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/fix-create-mr-from-issue-with-template.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/fix-create-mr-from-issue-with-template.yml b/changelogs/unreleased/fix-create-mr-from-issue-with-template.yml new file mode 100644 index 00000000000..8668aa18669 --- /dev/null +++ b/changelogs/unreleased/fix-create-mr-from-issue-with-template.yml @@ -0,0 +1,5 @@ +--- +title: Execute quick actions (if present) when creating MR from issue +merge_request: 15810 +author: +type: fixed |