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

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.49, 5.5.0
    • Fix Version/s: 5.5.5
    • Component/s: Behaviours
    • Labels:
    • Sprint:
      Sprint 51
    • Critical Points:
      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

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

              Dates

              Created:
              Updated:
              Resolved: