Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-78759

Worklog is not being added during transitions when the target status has a jira.permission.work.denied status property

    XMLWordPrintable

Details

    Description

      Summary
      Work logs added during a transition screen are being ignored when the target status has the following property:

      • jira.permission.work.denied set to denied/false

      Cause
      This particular check is only meant to apply on transitions when the source state and target state restrict adding work to an issue. Permission checks for new worklogs do not take this into account.

      Steps to Replicate

      1. Add a workflow property at the destination step: jira.permission.work.denied value denied
      2. Add a screen to the transition to the destination step above, which have the field included
      3. Publish the workflow
      4. Try running transition with a value in the restricted field from destination step.

      Expected Behavior
      Work can be added during the transition if the user has permission to add work in the current state, or in the target state for the transition. 

      Actual Behavior
      The workflow property is in place and causing the transition with the value to be ignored

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcaroly@atlassian.com Marcel Caroly
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: