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

JIRA Post function of type Update Issue Field is not displaying the set values

    XMLWordPrintable

Details

    Description

      Description

      Since the latest JIRA release (v7.0.0-OD-02-247), whenever the user try to create a new Post function of type Update Issue Field, the text shown on the issue Post function does not always reflect the Post function created.

      Examples:
      Updating the Assignee:

      The Assignee of the issue will be set to $textutils.htmlEncode(${fieldValue}).
      

      Updating the Priority/Resolution:

      • If there's a Condition set in the same Workflow, the message displayed in the post function will be the same as the condition:
        Condition
        Only users in project role Service Desk Team can execute this transition.
        

        Post function

        Only users in project role Service Desk Team can execute this transition.
        
      • If there's no Conditions, then the message displayed changes to:
        Type: class
        Class: com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
        Arguments:
        field.name = priority
        full.module.key = com.atlassian.jira.plugin.system.workflowupdate-issue-field-function
        field.value = 4
        

      It's impossible to re-order the Post functions when their descriptions match the condition set, but if the post function is displaying the type and class, reorder is possible again, however, if the reordering is done, the post function will mimic the behaviour of the exact above post function.

      Steps to reproduce

      1. Create a condition in any workflow.
      2. Create a post function of type: Update Issue Field to change the resolution field, for example.

      Expected
      The post function have its name and its properties.

      Actual
      The post function mimics the behaviour and properties of the conditions set.

      Attachments

        1. POSTFunctionProperties.png
          107 kB
          Shawn C
        2. Screen Shot 2022-02-08 at 5.28.27 pm.png
          674 kB
          Daniel Talebi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aborzzatto Andre Borzzatto
              Votes:
              33 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: