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

Field not consistently read-only with inline editing

    XMLWordPrintableJSON

    Details

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

      JIRA 6.3.9 with Service Desk 2.2 and Script Runner 3.0.7.
      JIRA 7.1.8 without Service Desk and Script Runner 5.0.5.
      JIRA 7.0.0 without Service Desk and Script Runner 4.3.19-SNAPSHOT.

    • Sprint:
      Sprint 33 - Ends Sept 18
    • Critical Points:
      2.5

      Description

      I've got a custom field and I've created a behaviour that should make that field read-only ... except that it doesn't. I can still edit the field. I've tried turning on logging for Behaviours but I cannot find any logging output for the plugin.

      Here are the settings I've used:

      Use Validator Plugin: Disabled

      Guide Workflow: None

      Field: Organisation, Optional, Readonly, Shown, Conditions: None.

      Mapping: Developer Technical Support (the project), all issue types

      Here is the XML:

      <config use-validator-plugin="false" name="Read-only organisation" description="Used to make the Organisation field read-only" guideWorkflow="null">
      <field id="customfield_10601" required="null" readonly="true" hidden="null"/>
      </config>

      This is affecting the inline editing capability in JIRA, in that hovering the mouse over the custom field causes the editing UI to be displayed. HOWEVER, if I then click on the Edit button then cancel, the inline editing is correctly disabled. Refreshing the page causes inline editing to work again

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              pcolmer Philip Colmer
              Votes:
              13 Vote for this issue
              Watchers:
              21 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m