Create artifact with RM API in RDNG
Hello!
I'm trying to create several artifacts as described by next link:
First artifact is created without a problem. But I have a strange message taken from result.message if a second artifact is to be created next in a loop:
At the same time, next message is displayed on Web page:
Is it possible to create several artifacts with RM API somehow? What is missing by me in this code?
Thank you!
|
One answer
It seems that next RM.Data.Module.createArtifact must be put into callback of the previous one. I mean that the next construction is wrong:
RM.Data.Module.createArtifact(attrs, strategy, function(result2) {
But the next one works:
RM.Data.Module.createArtifact(attrs, strategy, function(result2) { |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.