DNG 6.0 : Update list of requirements in folder.
I have a list of requirements objects and i am able to create them in a folder. Now, if i have other list of requirements and i want to update with them with already existing requirements.how can i do this ?.
update means :
Addition of some new requirements.
Removing some requirements.
making some change in requirements(Updating requirements)
Thanking in advance.
update means :
Addition of some new requirements.
Removing some requirements.
making some change in requirements(Updating requirements)
Thanking in advance.
2 answers
I'm not understanding your question. Of course you can add, remove and modify requirements in a folder. But I'm guessing your question is more than that.
Comments
If I understand correctly, you're trying to do this with OSLC API. In this case, the "update" action that you mentioned is quite straightforward if you get the subject right - the subject is "requirement", not "folder" in your case. You can use the PUT operation to modify/update the requirement artifacts.
Let me translate your requests with "requirement" being a subject.
1. Addition of some new requirements - make the containing folder of new requirements as the current folder. This means that <nav:parent> should point to the current folder.
2. Removing some requirements - make the containing folder of some requirements different to the current folder. This means that <nav:parent> should point to a folder different to the current folder.
3. Updating requirements - well, same as above but with changes to other attributes of the requirements.
Let me translate your requests with "requirement" being a subject.
1. Addition of some new requirements - make the containing folder of new requirements as the current folder. This means that <nav:parent> should point to the current folder.
2. Removing some requirements - make the containing folder of some requirements different to the current folder. This means that <nav:parent> should point to a folder different to the current folder.
3. Updating requirements - well, same as above but with changes to other attributes of the requirements.