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

When clicking on the Log Work option the the cursor no longer automatically appears or auto-focuses on the "Time spent" field & same for "Transition button"

XMLWordPrintable

      Issue Summary

      After opening a Jira issue, it has been observed that after clicking 'Log Work' in Jira, the cursor does not automatically focus on the 'Time spent' field. The issue has been observed starting from Jira 10.x and was not present in 9.x versions

      Steps to Reproduce

      Scenario-1 for Log Work Option

      1. Spin up a Jira instance running version 10.x
      2. Open any issue.
      3. Click on More (•••) and select Log work.
      4. Observe that the "Log Work" dialogue opens, but the cursor does NOT automatically appear in the "Time spent" field (auto-focus does not work; you must manually click the field).
      5. Repeat steps 1–4 on a Jira instance running version 9.17.5 or 9.x
      6. Observe that the "Log Work" dialogue opens and the cursor automatically appears in the "Time spent" field (auto-focus works as expected).
      7. Note the difference in behaviour between the two versions.

      See the SS Jira 9.x & Jira 10.x attached to this ticket.

      Scenario-2 for Transition Button 

      1. Spin up a Jira instance running version 10.x
      2. Open any issue.
      3. Try transitioning an issue from one status to another, which has a workflow step screen added asking for input.
      4. Observe that the "Transition Screen" dialogue opens, but the cursor does NOT automatically appear in the First field (auto-focus does not work; you must manually click the field).
      5. Repeat steps 1–4 on a Jira instance running version 9.17.5 or 9.x
      6. Observe that the "Transition Screen" dialogue opens, but the cursor does NOT automatically appear in the First field (auto-focus does not work; you must manually click the field).
      7. Note the difference in behaviour between the two versions.

      See the SS Jira 9.x & Jira 10.x (Transition) attached to this ticket.

      Expected Results

      • When opening the "Log Work" dialogue, the cursor should automatically appear in the "Time spent" field (auto-focus should work). 
      • When opening the "Transition Screen" dialogue, the cursor should automatically appear in the First field (auto-focus should work). 

      Actual Results

      • When opening the "Log Work" dialogue, the cursor does not autofocus on the "Time spent" field (autofocus does not work; one has to manually click the field and enter the time).
      • When opening the "Transition Screen" dialogue, the cursor should automatically appear in the First field (auto-focus should work). 

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available

        1. Jira 9.x (Transition Step ).png
          Jira 9.x (Transition Step ).png
          253 kB
        2. Jira 9.x.png
          Jira 9.x.png
          218 kB
        3. Jira 10.x (Transition Step ).png
          Jira 10.x (Transition Step ).png
          181 kB
        4. Jira 10.x.png
          Jira 10.x.png
          239 kB

              Unassigned Unassigned
              4fddfa0e271a Vishal Sharma
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: