I've created two "Transition Date fields" in Jira to get the time when two specific transitions took place.
In both of those field i have this:
<!-- @TransitionId: theTransitionIDFromMyWorkflow -->
this actually works. Now i want a third field to calculate the difference between field A and field B.
I thought about something like:
@Formula:
return issue.get("FieldB") - issue.get("FieldA");
-->
So value of field B - Value of field A. But this sadly doesnt work. Im sure that its some syntax issue or something is missing... any idea how to fix this?