Update XML file to link Test case to artifact
Good morning,
I am trying to import some test cases by using an XML file. I need to link the test case to some artifacts from a RM project area. Which fields do I have to fulfill in the XML? or what do i have to add?.
Is it possible to configure a custom attribute from the XML file?
For this last question I would like to fulfill a "Custom ID" attribute, how could I do that from the rest api call/XML file¿?
Thanks in advance
One answer
I doubt you get an answer on this kind of question. It is as open as it gets and there are no details at all, that could help answering it, even if someone wanted to spend hours trying to answer.
As for all "I want to import stuff" questions, my answer here would be to suggest to try exporting the data first, and then analyze what you got. Then modify it and try to re-import. With respect to tools or APIs to export/import, see https://jazz.net/downloads/test-management/releases/7.0.2SR1?p=allDownloads especially see the tools in the Extras section at the end. You can look up the documentation for all the extra tools from there.
With respect to APIs, we have this page: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding where you can browse through them. There are some ELM wide APIs, the others are listed per tool.
A general API that is supported for ETM is the OSLC API that allows to create stuff.
Another one is the reportable REST API that should usually only allow to report on data, but for ETM it looks like it can also POST/PUT data for updates. It documents how the data should look like.
https://www.ibm.com/docs/en/elm is the whole documentation. You can search here as well e.g. 'test import' for supported test management import formats.