Given there is an issue "Webship test comment" in the repository "owner/webship-site"

Make sure there is an issue of this title in a repository (made through the API as the managing account; one of the same title is removed first, so a scenario starts from a known issue). It goes after the scenario. With "in the milestone …" it is in that milestone of the repository from the start.

Examples

Given there is an issue "Webship test comment" in the repository "owner/webship-site"
Given there is an issue "Webship test close"
And there is an issue "Webship test time" in the repository "owner/webship-site"
Given there is an issue "Webship test sprint" in the milestone "Sprint 1"
Given there is an issue "Webship test assign" in the milestone "Sprint 1" of the repository "owner/webship-site"

Pattern

Given(/^there is an issue "([^"]*)"(?: in the milestone "([^"]*)")?(?: (?:in|of) the repository "([^"]*)")?$/, …)

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