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

Behaviour didn't work for transistions (like in the past)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 5.3.0
    • Component/s: None
    • Labels:
    • Environment:

      Jira 6.4.1
      script-runner 4.1

    • Critical Points:
      0

      Description

      In the old days of my jira 4.x and Behaviours-Plugin my behaviours worked.
      Now i change to jira 4.6.10 and script-runner 4.1 and notice some strange problems.

      I have a behaviour which checks some dependencies between fields.
      If one specific entry in a field is selected then another field mus be filled.

      When i resolve an issue and the resolve-view (dialog) gets displayed the behaviour calls the mapped methods in my script for the fields.
      That works but only if i am remote-debugging the script.

      If it runs without debugger then the it seems that it calls the script (i.e. formFieldBetroffeneProdukte.setValid(false)) but without changes the ui.
      Even if i set setValid(false) the field has a green border and i can resolve the issue!
      That's a big problem because now we have some issues for which are not all neccessary fields are filled.

      If i change the field by hand then the methods gets called and work well.

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            mkornatzki Michael Kornatzki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: