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

Adding log work during transition screen will silently failed for incoming transition if the status has *jira.permission.work.denied* enabled

    XMLWordPrintable

Details

    Description

      Issue Summary

      Adding log work during transition screen will silently failed for incoming transition if the status has jira.permission.work.denied enabled.

      As mention in this KB we can restrict user from logging work by adding jira.permission.work.denied parameter to the specific status.

      Steps to Reproduce

      1. Create new simple project with simple workflow as below:
      2. Make sure the workflow has both transition:
        • TO DO -> IN PROGRESS
        • IN PROGRESS -> TO DO
      3. Create a new screen with Log work field
      4. Associate the Screen into the both transition form step 2:
      5. Click on TO DO status > On Options > Click Properties > Add below properties:
      6. Go to the project > Create one new issue and transition from TO DO -> IN PROGRESS.
      7. In IN PROGRESS, transition back the issue to TO DO status.
      8. On Transition screen, add 1 hour as Time spent > Transition back to TO DO.
      9. Go to History tab on the issue > The time spent is not added in the JIRA issue history.

      Expected Results

      Time Spent get added to the History tab and database.

      Actual Results

      Due to the default Post function for the transition, JIRA will set the workflow status first from IN PROGRESS -> TO DO (Step 1) before Update change history for and issue (Step 3) which will result the Time spent did not get updated due to jira.permission.work.denied properties in TO DO status:

      Workaround

      Currently, the only workaround would be to have the users manually Log Work prior to transitioning the issue into the new status.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abinomar Amirul Ikhwan Omar (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: