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

Behaviours no longer disable inline edit when a behaviour is mapped to the field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 5.5.5
    • Fix Version/s: None
    • Component/s: Behaviours
    • Labels:
      None
    • Critical Points:
      0

      Description

      In scriptrunner version 5.5.5 the inline edit feature for issue fields is no longer being disabled when a behaviour is attached to the field.

      Steps to reproduce:

      1. Create a behaviour and add just a basic text field, and just toggle the required slider so the behaviour actually does something
      2. Go to the issue view page and you will still be able to edit this field inline but this should have been disabled and instead force the edit window to show.

      The bug shows itself in the developer console log:

      In 5.5.3 you can see it enabling the edit popup

      Enable the edit popup for fields: ["customfield_10101"]

      However with the exact same behaviour in 5.5.5 you get an empty array:

      Enable the edit popup for fields: []


      Workaround

      Downgrade to scriptrunner version 5.5.3 which does not have the bug.

       

      Tested on Jira 7.13.1 on Jira software Project

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mclark Matthew Clark
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: