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

The setLabel() causes a duplicate if any markup parameters are included

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.2.1-jira8
    • Fix Version/s: 6.1.0
    • Component/s: Behaviours
    • Labels:
      None
    • Sprint:
      SR4J Sprint 77
    • Critical Points:
      0.4

      Description

      Steps to reproduce:

      1. Create Server Side Behavior and Use Service Desk mapping
      2. Add an if condition which will update the Description field Label and include a new line with the <br/> markup using the setLabel() method
      3. Once the if condition is triggered the Description Field label will update.

      Current Behaviour

      The Description field Label is updated but duplicates labels are produces

      Expected Behaviour

      The Description field Label should update, but no duplicates should be produced.

      Attached is the current label output produced.

        Attachments

          Structure

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              rkumar Ram Kumar Aravindakshan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel