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

TransitionWorkflow Jelly tag will not work if there is no transition screen

    XMLWordPrintable

Details

    Description

      The TransitionWorkflow Jelly tag will not work if there is no transition screen associated with the transition (e.g. Start Progress).

      Error: <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
      Exception: org.apache.commons.jelly.JellyTagException: null:2:0: Field 'assignee' can not be set on action with no screen
      java.io.PrintWriter@1815614
      

      I believe this is due to the validation in TransitionWorkflow class:

      else if(fieldScreen == null)
                     {
                         throw new JellyTagException("Field '" + attributeName + "' can not be set on action with no screen");
                     }
      

      Attachments

        1. jellyfix.diff
          1 kB
        2. jellyfix.jar
          7 kB

        Issue Links

          Activity

            People

              bbaker ɹǝʞɐq pɐɹq
              lean.zhenyueh Zhen Yueh, Lean [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: