Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3381

Original estimate field not working on behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.4.49, 5.5.0
    • 5.5.5
    • Behaviours
    • 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.  

       

      Attachments

        Activity

          People

            rholban Roland Holban [X] (Inactive)
            jmarques Zeca Marques [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: