Python script to create child request is adding additional brackets

Python script to create child request is adding additional brackets

Hello!

I'm using the script "[PYTHON] Script to create multiple Child requests from a Parent request with a configurable JSON file" as a template (from the Resources site). I've only modified it to include my own custom fields.

When the script creates the JSON input to create the new request, it places square brackets around the field data. This means that I'm unable to use the variables to populate other fields (such as creating a description), as Python views them as lists, not strings.

Is anyone able to offer any suggestions? I've attached a screenshot to show how the data is being posted.

Thanks,

Helen

                  New to ADSelfService Plus?