assertNotNull(transitionFound);
assertTrue(Iterables.contains(transitionFound.getFields(),
new Transition.Field(NUMERIC_CUSTOMFIELD_ID, false,
IntegrationTestUtil.TESTING_JIRA_5_OR_NEWER ? NUMERIC_CUSTOMFIELD_TYPE_V5 : NUMERIC_CUSTOMFIELD_TYPE)));
final double newValue = 123;
final FieldInput fieldInput = new FieldInput(NUMERIC_CUSTOMFIELD_ID, newValue);
client.getIssueClient().transition(issue.getTransitionsUri(), new TransitionInput(transitionFound.getId(), Arrays
.asList(fieldInput),
Comment.valueOf("My test comment"))).claim();
final Issue changedIssue = client.getIssueClient().getIssue("TST-1").claim();
assertEquals(newValue, changedIssue.getField(NUMERIC_CUSTOMFIELD_ID).getValue());