When I relate the issue to "Attachments larger than 2 MB fail" as "related to"

Relate the open issue to another issue, by its summary or number, from its page's Relationships: "related to", "duplicate of", "has duplicate", "parent of", "child of".

Examples

When I relate the issue to "Attachments larger than 2 MB fail" as "related to"
When relate the issue to "#3" as "child of"
And I relate the issue to "Webship test login" as "duplicate of"
And relate the issue to "#1" as "related to"
When we relate the issue to "Attachments larger than 2 MB fail" as "parent of"

Pattern

When(/^(I |we )*relate the issue to "([^"]*)" as "([^"]*)"$/, …)

Part of @webship-js/mantisbt-steps (github.com/webship/mantisbt-steps), a step pack for Webship-js 2.0.x.