Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
5.4.49, 5.5.0
-
Sprint 51
-
0.7
Description
The Original estimate field isn't working on behaviour.
In order to reproduce this issue add behaviour to Original Estimate field like the example below.
log.warn("underlyingIssue?.originalEstimate: " + underlyingIssue?.originalEstimate) def originalEstimate = getFieldById(getFieldChanged()) log.warn("originalEstimate: " + originalEstimate) if(underlyingIssue?.originalEstimate != originalEstimate.getValue()){ log.warn("underlyingIssue?.originalEstimate != originalEstimate.getValue(): " + underlyingIssue?.originalEstimate != originalEstimate.getValue() ) def commentField = getFieldById("comment") log.warn("commentField: " + commentField) if(commentField) { commentField.setRequired(true) } }
Then edit an issue, change the Original Estimative field.
After checking the logs, will notice the behaviour was not triggered.