Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-44693

Inconsistent UI behaviour with Inline edit for Label fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.4.7, 6.4.12, 7.0.5, 7.3.0, 7.7.1, 8.13.11
    • Issue - Fields

    Description

      Description of problem

      Removing a field from the edit screen should prevent the field from being in-line edited. The in-line edit behavior of label-type fields is inconsistent when the field is removed from the edit screen.

      • This behavior has changed between JIRA versions. As of JIRA 7.3.0 the current behavior is incorrect. See Expected Results and Actual Results

      Expected Results

      • Behavior is consistent between issue navigator and the view issue screen
      • Fields are not in-line editable if they do not appear on screen associated with edit operation

      Actual Results

      As of 7.3
      The ability to edit Labels fields (Built-in and custom) differs between the issue navigator and the view issue screen.

      • When fields do not appear on edit screen, correct behavior in issue navigator. Incorrect behavior on view issue screen (editable, blue pencil)

      Steps to reproduce

      1. Create new project
      2. Rename "View/Edit" screen to "View" screen, then copy to create new "Edit" screen
      3. Change screen scheme to associate view and edit issue operations with the edit and view screens
      4. Create new labels custom field "CFlabel" - Add to view and create screen
      5. Check view, create, and edit screens. "Labels" and "CFlabel" should appear on View and Create screens. Remove both fields from the edit screen.
      6. Create issues
        • Issue #1 "No Labels" - Create issue and leave both labels fields empty
        • Issue #2 "Both Labels" - Create issue and populate both label fields

      Observe:

      6.4.7

      • Issue #1
        • Issue Navigator - Blue pencil appears for built in Labels. CFlabel does not appear because field is empty
        • View Issue - Blue pencil appears for built in Labels. CFlabel does not appear because field is empty (Image 1)
      • Issue #2
        • Issue Navigator - Built in labels field cannot be edited. CFlabel appears and cannot be edited
        • View Issue - Built in labels field cannot be edited. CFlabel appears and cannot be edited
          • Image 2 shows 6.4.7 but CFlabel field did not exist. This is why it does not show in the image.

      6.4.12

      • Issue #1
        • Issue Navigator - Built in editable, grey pencil appears on mouse over. CFlabel does not appear because field is empty
        • View Issue - Built in editable, grey pencil appears on mouse over. CFlabel does not appear because field is empty
          • One case where the blue icon did show for very brief time when page was loading, this is tracked in JRA-62320
      • Issue #2
        • Issue Navigator - Built in editable, grey pencil appears on mouse over. CFlabel appears and cannot be edited
        • View Issue - Built in editable, grey pencil appears on mouse over. CFlabel appears and cannot be edited

      7.3.0

      • Issue #1
        • Issue Navigator - Blue pencil appears for built in Labels. CFlabel does not appear because field is empty
        • View Issue - Blue pencil appears for built in Labels. CFlabel does not appear because field is empty
      • Issue #2
        • Issue Navigator - Built in labels field cannot be edited. CFlabel appears and cannot be edited
        • View Issue - Blue pencil appears for built in Labels. CFlabel appears with blue pencil, can be edited

      Image 1

      Image 2

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nroslan Atiqah Roslan
              Votes:
              17 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: