HHH Posted February 28, 2019 Posted February 28, 2019 Hi I'm setting up Jira integration and am failing with the error: iBridge Method: /Atlassian/Jira Cloud/Create Issue.m Error: Jira Error: Type of request: data was not an array. The field wants the value "Customer Support" from Hornbill but accepts multiple entries, thus the array. I've tested Customer Support, "Customer Support", 'Customer Support' and all 3 in square brackets ["Customer Support"] etc. as well as the numeric value of "Customer Support" in the various forms Can anyone shed some light into this please? 1
Steve G Posted March 4, 2019 Posted March 4, 2019 Hi @HHH, The custom field input within the Jira integrations only support fields of type string and number currently, array-type custom fields are not supported. I'll raise this and see if there's anything we can do to provide support for array-type custom fields. Cheers, Steve 2
Steve G Posted April 5, 2019 Posted April 5, 2019 Hi @HHH, The Jira and Jira Cloud integrations for Create Issue and Update Issue now support custom fields of type array. On the integration methods, there is a new Request Parameter called Custom Fields (Arrays) , which when configured will add the relevant custom field data to the API call to Jira. For example, this will set the First Option and Third Option values against the multi-select item with the key of 10028 against any new issues created: As you can see in the issue generated: And the custom field defined as: The data types available to array-type custom fields are MultiGroupPicker, MultiSelect, MultiUserPicker and VersionPicker, as defined by Jira and should match the type of your custom field. See the Jira documentation for more information: https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/ Let me know how you get on with these enhancements. Thanks, Steve 1
HHH Posted April 5, 2019 Author Posted April 5, 2019 @Steve G Thank you sir! This will allow me to create epic integrations. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now