mafrosis/jira-offline

Any string can be used in the Issue.assignee field

Closed this issue · 1 comments

It's possible to set the assignee of an Issue to any string you like with the --assignee flag. If that user doesn't exist, the Jira API fails with the following:

{"errorMessages":[],"errors":{"assignee":"User 'bob' does not exist."}}

Potential option is to allow pre-configured set of users for a Jira project, and then validate early on the assignment. Either require --force flag to override, or show a warning when the assigned user is not on the list.

Superseded by #81