How can I define a work item template that allows the instatiator to set attribute values?
Good Morning,
When creating a work item template that allows me to create a string of linked work items I would like to be able to allow the creator to change the values of some of the attributes.
During the wizard for creating the template I can only select "Planned For" and "Filed Against" as variables that should be set individually for each template instantiation.
How can I add attributes such as the Description, Owner, and custom attributes to the template to allow them to be defined at template instantiation?
Thank you and best regards,
Andrew
Accepted answer
Hi, Andrew!
Sorry for the delay in getting back to you. I thought I was going to be cool and get this to work based on this article: https://jazz.net/wiki/bin/view/Main/WorkItemTemplates
And I got close. I exported a template that I created and then opened the XML file for it. I found an owner reference and changed it to look like:
<rtc_cm:ownedBy rdf:resource="${ownedBy:Contributor}"/>
Saved it and imported it back into my project area. I tried to create work items from the template and even got a section that looked like it would let me choose an owner, but got an error when I tried to use it.
So it seems the wiki article is correct (and current) in that only Planned For and Filed Against are supported at this time. If you feel strongly about this feature, please look to see if there is an existing Enhancement request to upvote or write one of your own.