Hi all, I'm having issues with creating what I'd call a complex ConfiForm and pushing the data ingo a Jira Create Issue via API.
Please have a look at my Code Block, Error being received and screenshot of fields.
Code Block:
Error:
You need to
Fields being used:
Hi @GAVIN Benn
There is nothing more to say than ConfiForms does - the JSON you are constructing is not valid and will not be accepted by Jira
ConfiForms Jira helper shows you what structure the field accepts and ConfiForms offers lots of functions to transform the value https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
So instead of something like
"customfield_15235": [{"id": "RSP Impact [entry.rspimpact.asArrayMultiSelect]"}]
You need the field to produce the value as array of objects that have an id property
"customfield_15235": [[entry.rspimpact.asArrayOfKVPairs(id)]],
And so on...
Alex
Thanks Alex, any additional tips for troubleshooting the JSON I have?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you fixed those fields that I have mentioned? What JSON mapping do you have now?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Alex, I'm looking to try and add this into my form today. Haven't been able to get back to this build until today.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.