Notifications

4 views

Description

Using JIRA Spoke integration, you create an Additional Field for a Dynamic template within the "Create Issue"action item, with purpose to pass a value to an object of type array in the remote end. 

When the flow executes the following runtime exception is returned from the remote end:

Response Body in "Step <number> - Create Issue [REST]":
{"errorMessages":[],"errors":{"<field_name>:"Operation value must be a number at array index 0"}}

"Error: Cannot find function indexOf in object [object Object], Detail: Cannot find function indexOf in [object Object]"

Release or Environment

New York Release is the test version.

Cause

This issue is unfortunately caused by a limitation in the product.
When dynamic templates are used, it is not possible to specify an additional attribute other than type String.

Resolution

Use only string type variables as additional fields in dynamic templates.

Article Information

Last Updated:2020-02-21 05:09:54
Published:2020-02-16