Is there a way to create a RRC template without it being an artifact (or be able to hide it from views)?
Possibly I am just not doing this the best way but I am creating an artifact in RRC (e.g. a "Feature" artifact) and I then create a template based on this artifact. Now this artifact template shows as a Feature artifact and will show in my queries for Features, etc. Is there a way to create a template without it being an artifact? Or is there a way to hide this artifact so it isn't shown in a view?
Please let me know if this is not clear and I will try to re-phrase. Thanks. |
Accepted answer
Hi Michael,
You will definitely want to test this on your own with a dummy artifact before you take my word for truth, but I tried this on RRC 4.0.4, and after I created an Artifact Template I was able to delete the artifact from which the template was made. Here are the steps I took:
1) Create an artifact named "Foo" with the desired features,
2) Navigate to Manage Project Properties -> Templates -> Artifact Templates, and click "New Template"
3) Name the template "Bar", select the artifact "Foo" in the Browse bar, and click "Create"
4) Go back to the grid view, and delete the artifact "Foo"
5) Create a new artifact, and use the template "Bar"
The new artifact should be created without problems.
Hope this is helpful!
Mike Jaworski
Michael Haun selected this answer as the correct answer
Comments
Michael Haun
commented Jan 30 '14, 4:31 p.m.
Thanks Mike. This worked. It makes updating the template a bit trickier as you have to create a new artifact with the changes you want but otherwise this works. It would be nice if the template was treated as a unique entity (not an artifact) you can edit/update. Thanks again.
That's an interesting thought, and it might not be a bad idea to submit this as an enhancement request. You can either do this through a jazz.net "Enhancement" work item (Filed Against: RRC -> Server) or by filing an RFE (Request for Enhancement) through Rational Support. I'm not sure how intense the RFE process is, but I think you have a better chance of getting stronger attention to your request through the Support route. I think the point here is that the original artifact from which you created the template is not the template itself (hence why you are able to delete it while the template still exists). In other words, your artifact did not become a template, it was used to create a template. You're not actually seeing the template, but the artifact from which it was initially created.
|
3 other answers
Michael Haun,
To solve this problem i created a template with name "Template_UseCase", for example. In my queries of use case artifacts I included the criteria to avoid querying artifacts that begins with "Template_". I agree that is not a good solution and the idea of submit an enhancement is much better, but it was the way I found. |
On second thought, we could create an attribute "Is Template" of type boolean and define what artifact is template or not. Than we could use this attribute in queries.
|
Thanks Mike and Luiz. These are good suggestions for working with the current methodology but I went ahead and opened an enhancement as I think having a template be a unique entity (and not an artifact) is ideal.
Enhancement: https://jazz.net/jazz03/web/projects/Requirements%20Management#action=com.ibm.team.workitem.viewWorkItem&id=84597 |
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.
Comments