Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3676

"Copy display value" and "Copy key value" post-functions don't work on the Create transition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.13.29, 5.14.0, 6.0.1, 6.1.2
    • Fix Version/s: 6.4.3
    • Labels:
    • Environment:

      Jira DC 7.13.8

    • Functional components:
      Workflow > Post functions

      Description

      Steps to Reproduce

      • Create a Live Text Elements Connect field "Field1":
        • Datasource: Jira SQL
        • Query: Select 'LiveText'
        • Key= {0}
        • Display = {0}
        • Editor= Autocomplete
      • Create a Jira Text Field single value "Text".
      • Add the two fields to the same project.
      • Edit the project workflow, on the Create transition.
      • Add the Elements Connect post-function "Copy display value" (or "Copy key value") from Field1 to Text.
      • Publish the workflow.
      • Create an issue in the same project, and set the value for Field1 in the Creation screen.

      Expected Results

      The Display (or the Key) of the field "Field1" should be copied to the field Text, and field Text should display the value 'LiveText'.

      Actual Results

      Nothing is displayed in the field Text.

      Notes

      • If we create a loop transition on the "To Do" status, and use the post-function here, it works.
      • Fields remain empty if the Connect post functions are placed after the "Re-index an issue to keep indexes in sync with the database." (which is not a good practice):

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nelly.sammak@elements-apps.com Nelly Sammak
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: