Skip to content

The branch is not inherited when start a new event from branch-specific triggered event #3491

Description

@yakanechi

What happened:
Related #3416

If you start a new event based on an event triggered by a branch-specific trigger, the branch is not properly inherited.
As a result, the jobs and steps that are executed will be pipeline's branch instead of branch-specific.
This is because parentEvent is not passed at the start.

What you expected to happen:
The event will start on the same branch as the original event.
Steps and jobs run based on the source branch of the pipeline
However, unlike a restart, metadata are not carried over.

How to reproduce it:
Start a new event from here in the V2 UI from events started by a branch-specific trigger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions