It seems that I could somehow get it working with asJsonStringArray and asJsonObject for very simple values, but for deep Json value objects with multiple levels and arrays it does not work.
Are custom field object types supported as smart values by Jira automation?
Could you share an example of an object that is too deep to be accessed or manipulated that way? My goal is to investigate on my own test apps and see what I can find about this issue.
We want to copy this field data from one issue to other issue in another project using Jira automation - additional fields. I am not sure how to copy this. have tried many options. its seems to be an array of object, but I couldn’t figure out the syntax for it.
Below is the link provided by Jira for advance editing,
@NicoFrossard Hi ! Sorry for keeping you waiting for so long.
What you assumend is accutualy correct. Inside application there is no problem with using howerver complex data possible but when it comes to using object data in general it is limited to manifest.yaml.
You can encode arbitrary JSON and decode it inside your app.
Any updates here? I also have a Forge Custom Field of type Object. When I use the native issue Clone, the values for the custom field are cloned, but when using the Automation for Jira (A4J) clone function, it does not. The field is not a valid option in the Clone or Edit A4J functions and when trying to use the “Additional fields” option, I can’t seem to get acceptable syntax referencing the {{issue.customfield_#####}} smart value. I suspect the issue comes from needing to escape the contents, but have not had any luck. Any suggestions are greatly appreciated.