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

The move issue operation should respect workflow restrictions and permissions in target project or issue type.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Issue - Actions
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem

      As long as the user has Move Issue and Create Issue permissions in a project, they can move an issue to it and more importantly, to ANY workflow state in the target workflow. This creates an issue in a use case such as:

      -If you are using in a project (or specific issue type) a workflow that has specific restrictions as it is being used in a strict approval process. The ability to use the move issue operation to "bypass" any workflow conditions and validators renders the approval workflow useless. (not saying that someone would necessarily maliciously seek to do so)

      -Similarly, it could be moving to a different issue type within the same project that is using a different workflow as well.

      Looking at the consequences mentioned in the other linked issues, simply put, the "move issue" operation is one could say "too powerful" as it doesn't respect workflow conditions and permissions in the target project.

       

      It would be good to apply the logic in the workflow's condition to filter out the new workflow statuses, for example:

       

      In addition, we should consider adding a third input to select a transition to the new status, so the validators, POST functions, and transition screens can be applied during the move, so we don't end up with an empty Resolution field when moving an issue to 'Resolved' - see JRASERVER-16595
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              8d2fa84e4f91 Evangelos Vrocharis
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: