JQL on custom fields appears to be working on pre-transition values

Issue #5 resolved
Dan Burzynski created an issue

I have a simple transition that fires up a screen that allows you to change a custom field (The 'Team' that a Story is assigned to). As part of the transition's post functions I have added the HipChat plugin which a bit of JQL in it that detects the 'Team' and sends a message to a particular HipChat room)

E.g. JQL: Team = A

The problem is that the HipChat room is notified based on what the custom field was.

So, if Team was set to "B" before the transition and during the transition it was set to "A", the JQL will not cause the HipChat room to get the message as it seems to see Team set to B and not A as it should be.

It makes no difference where in the list of post functions I put this function, it yields the same result.

EDIT: I don't know if this makes a difference, but the transition itself points back to the status that the issue was originally in so that the status never changes.

Comments (3)

  1. Log in to comment