node-gh/gh-jira — pull request #40 by zenorocha (2014-03-27 21:21:16+00:00)
Title: `gh jira` with `Code Review Request` fails with `gh [error] 400: Error while updating`

`gh pr --submit` fails on the `gh jira` hook when trying to perform a `Code Review Request`:

```
arbo:liferay-portal arbo$ gh pr --submit sergiogonzalez --issue LPS-44579 --title 'LPS-44579 Fixes accepted, plus small changes following the same lines'
gh [info] Submitting pull request to @sergiogonzalez
To git@github.com:arboliveira/liferay-portal.git
* [new branch] pr-3 -> pr-3

gh [success] https://github.com/sergiogonzalez/liferay-portal/pull/1325
gh [hook] gh pr 3 --comment 'Pull request submitted to https://github.com/sergiogonzalez/liferay-portal/pull/1325.'
gh [hook] gh pr --browser --user sergiogonzalez --repo liferay-portal --number 1325
gh [hook] gh pr 3 --close
gh [hook] gh jira LPS-44579 --assignee sergiogonzalez --submittedLink https://github.com/sergiogonzalez/liferay-portal/pull/1325
[?] What do you want to do with LPS-44579 TrackbackAction: introduce tests to document current behavior? Code Review Request
gh [info] Updating issue
gh [error] 400: Error while updating
```

No problem with `Nothing, thanks`, obviously :smile:

```
arbo:liferay-portal arbo$ gh jira LPS-44579 --assignee sergiogonzalez --submittedLink https://github.com/sergiogonzalez/liferay-portal/pull/1325
[?] What do you want to do with LPS-44579 TrackbackAction: introduce tests to document current behavior? Nothing, thanks
```

Went to Jira, verified that `Code Review Request` is available even though issue is assigned to someone else. Tried again, same error:

```
arbo:liferay-portal arbo$ gh jira LPS-44579 --assignee sergiogonzalez --submittedLink https://github.com/sergiogonzalez/liferay-portal/pull/1325
[?] What do you want to do with LPS-44579 TrackbackAction: introduce tests to document current behavior? Code Review Request
gh [info] Updating issue
gh [error] 400: Error while updating
```

Went to Jira, manually assigned to me. Tried `Code Review Request` again, same error:

```
arbo:liferay-portal arbo$ gh jira LPS-44579 --assignee sergiogonzalez --submittedLink https://github.com/sergiogonzalez/liferay-portal/pull/1325
[?] What do you want to do with LPS-44579 TrackbackAction: introduce tests to document current behavior? Code Review Request
gh [info] Updating issue
gh [error] 400: Error while updating
```