Allow split (string operator) value function to work with development smart value functions

XMLWordPrintable

      Issue Summary

      The split (string operator) smart value function does not work with the development smart value function (ie, pullRequest.destinationBranch )

      Steps to Reproduce

      1. Create an automation rule with an edit issue action, selecting a custom field.
      2. On the edit issue field function, update a field via the Advanced field editing using json.
      3. Use the following smart value 
        {{pullRequest.destinationBranch.split("/").get(1)}}
      4. Nothing is captured and updated.

      Expected Results

      The formatted development smart value (ie, {{pullRequest.destinationBranch.split("/").get(1)}}) should return a value.{}

      Actual Results

      The formatted development smart value (ie, {{pullRequest.destinationBranch.split("/").get(1)}}) does not return a value. ** 

       

      Workaround

      To circumvent this issue, you will have to setup the following in your automation;

      • Create a variable
      • Pass the value of the Development smart to this variable
      • Create another variable
      • Pass the value of the 1st variable with split function formatting
      • Use the second variable in the Issue edit field function



            Assignee:
            Unassigned
            Reporter:
            Cecille Maquito (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: