When I assign the issue to "developer"

Assign the open issue to someone from its page's "Assign To:" (their username, as the list shows it, or "[Myself]").

Examples

When I assign the issue to "developer"
When assign the issue to "manager"
And I assign the issue to "developer"
And assign the issue to "[Myself]"
When we assign the issue to "developer"

Pattern

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

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