I was able to make automation which goal is just create work items for each value in description separated by breakline. but for some reason i'm getting many more values in output, could you please help me with that issue?
Hi @J D -- Welcome to the Atlassian Community!
What does the content / structure of your Description field look like?
And, why are you using the asJsonStringArray function? That is normally used to build a JSON expression as text to perform a work item update. That function does not produce a JSON expression which allows referencing attributes.
When you want to use data in a Description field delimited by newlines, please use {{issue.description.split("\n")}} to create the list source for the Advanced Branch. And then use other text functions to further parse the results to check the content and create the work items.
And if you believe the parse content contains well-formed JSON, you could attempt to convert it (for referencing attributes) with the function jsonStringToObject:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.