Hi, I have a Mendix 5.8.1 project in which I don want to retrieve sprint and stories using the StoriesAPI. For Sprints this works fine, however when tru to do this for Stories an soap error is returned. Request is like: Created soap envelope: <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:header><ns1:authentication xmlns:ns1="http://home.mendix.com/stories"><username>PlatformAPIUser</username><password>PlatformAPIPassword</password></ns1:authentication></soapenv:header><soapenv:body><ns1:getstories xmlns:ns1="http://home.mendix.com/stories"><apikey>a04f7450-fa11-40b4-9f49-43349e6f4060</apikey><sprintid>362281</sprintid><projectid>1382afdb-d4b9-4d28-8c07-bfa57223cf17</projectid></ns1:getstories></soapenv:body></soapenv:envelope> Response from the sprintr is always: Stub for https://my.sprintr.com/ws/StoriesAPI/ ] Thread [ MxRuntimeSystem-akka.actor.action-dispatcher-18 ]: <soap:envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:body> <soap:fault> <faultcode>Server</faultcode> <faultstring>Attribute 'Points' is not optional but mapped value 'PCPStoriesAPI.StoryTransient.PCPStoriesAPI.StoryTransient.Points' is null</faultstring> </soap:fault> </soap:body> </soap:envelope> Any suggestion?
Cees van den Heuvel (Intermediad)
This is a known issue with the Stories API. If you have one or more stories in your sprint that do not have points assigned, the Stories API will generate this error instead of returning the stories.
The relevant team is aware of this issue and it will be fixed in a future release. But don't hesitate to file a support ticket if you think we should pick this up sooner rather than later.
Benny van Reeven
You probably didn't set the Points attribute to a non-empty value in your app service call. Could you check that?
In the upcoming 5.10 release (not beta!) it will be possible to create and consume app services which allow you to set parameters and response types explicitly to empty.
Reinout van Schouwen
Nothing to set. I imported the StoriesAPI from the AppStore (version3) which creates a submodule with a domain model. constants and a number of standard actions one being Get Stories. I put that in a mf that supplies the input parameters including a sprintid. The is no reference to a points attribute anywhere that I can set. I would expect sprintr to return a list of stories (like a list of sprints when I do the same for spints) but instead it throws the soap error.