Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21187

Cursor jumps to comment instead of assignee field if "Text" mode was previously selected on comment

      Problem

      After clicking the "Assign" button or pressing Jira shortcut "a" (assign) the pop-up screen already shows with the cursor on the comment section instead of highlighting the Assignee fields.
      Same user refreshes the screen and clicks the "Assign" button or pressing Jira shortcut "a" (assign) will result in the "cursor" on the Assignee dropdown.

      Attached a recording to better explain the issue.

      Environment

      8.13.X (doesn't happen on 8.14.0+. Confirmed it doesn't happen on 8.20.2 as well)

      Steps to Reproduce

      1. On any given issue, click the "Add comment" button and select "Text" as editing mode.

      • This causes the jira.editor.user.mode property for the given user to change from "wysiwyg" to "source". This field is updated every time you switch modes.

      2. Close the browser, reopen and revisit the same issue.

      3. Click the "Assign" button or pressing Jira shortcut "a" (assign).

      Expected Results

      Cursor highlights the Assignee field.

      Actual Results

      Cursor is presented already in the comment section.

      Workaround

      Refresh the screen.

      Notes

      This issue no longer happens on 8.14.0 as it was fixed after the UI overhaul done on 8.14 (see https://confluence.atlassian.com/jirasoftware/jira-software-8-14-x-release-notes-1027133861.html)

      The property can be fetched for a given user using the following query:

       select pe.id, pe.property_key, au.lower_user_name, ps.propertyvalue
      from app_user au
      join propertyentry pe
        on au.id = pe.entity_id
      join propertystring ps
        on pe.id = ps.id where pe.property_key='jira.editor.user.mode' and au.lower_user_name;
      

          Form Name

            [JSWSERVER-21187] Cursor jumps to comment instead of assignee field if "Text" mode was previously selected on comment

            Szymon Rachański made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Bugfix Automation Bot made changes -
            Introduced in Version New: 8.13
            Filipi Lima made changes -
            Fix Version/s New: 8.14.0 [ 92898 ]
            Filipi Lima created issue -

              Unassigned Unassigned
              a3c7c2a06f95 Filipi Lima
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: