One transition consists of 2 plugin postfunctions.
Both postfunctions write to the same field.
I noticed now that what the first postfunction wrote to the field is not available to the second postfunction. It seems that jira only updates the fields when the whole transition is finished.
In the first postfunction I do "set this field":
field -> field.createValue(issue, newValue);
And in the second postfunction I do "get this field":
issue.getCustomFieldValue(field);
But in the second postfunction I do not see the field value which was set in the first postfunction.
What can I do that the field value which is set in the frist postfunction is right away saved in the database.
Thanks.