Creating Templates

109 views
Skip to first unread message

jb99900

unread,
Jul 8, 2008, 3:51:04 PM7/8/08
to VersionOne-users
Is there a way to create backlog template from an existing backlog
item?

Thanks,
J. Beasley

Maggie Bullington

unread,
Jul 8, 2008, 4:18:59 PM7/8/08
to versiono...@googlegroups.com

Not through the UI, but you could accomplish this with the API. There is a tool included in your VersionOne instance to help you make a couple simple API calls (which is all this would require). Here's what you do:

 

1.  Open V1, find the Story in a grid, and take note of the ID you see (such as B-1234).

2.  Open a browser to http://servername/v1instance/http.html

3.  You will see a form in which you can run GET and POST API Queries

4.  Find the system id of the story by typing in the URL box: rest-1.v1/Data/Story?where=Number='B-1234'&sel=Name

5.  Click the GET button

6.  In the lower large textarea, you will see xml like this:

<?xml version="1.0" encoding="UTF-8"?><Assets total="1" pageSize="2147483647" pageStart="0"><Asset href="/versionone8.1/rest-1.v1/Data/Story/1072" id="Story:1072"><Attribute name="Name">Customer List</Attribute></Asset></Assets>

 

7.  Now copy the system id (above, it is 1072), and type into the URL box: rest-1.v1/Data/Story/1072?op=DeepCopy

8.  Click the POST button

9.  Again, you will get XML in that lower text box, which will tell you the ID of the new Story you just created (by copying the old one).

10.Now copy that new id (let’s say it’s 2000), and type into the url box: rest-1.v1/Data/Story/2000?op=MakeTemplate

11.Click the POST button

 

Assuming your POSTS went through with an HTTP 200 status, you should now have a template that is an exact copy of the original story. Enjoy.

 

-Maggie

jb99900

unread,
Jul 9, 2008, 7:51:11 AM7/9/08
to VersionOne-users
Thanks Maggie, I'll give it a try...

Joel

On Jul 8, 4:18 pm, Maggie Bullington
<maggie.bulling...@versionone.com> wrote:
> Not through the UI, but you could accomplish this with the API. There is a tool included in your VersionOne instance to help you make a couple simple API calls (which is all this would require). Here's what you do:
>
> 1.  Open V1, find the Story in a grid, and take note of the ID you see (such as B-1234).
>
> 2.  Open a browser tohttp://servername/v1instance/http.html
>
> 3.  You will see a form in which you can run GET and POST API Queries
>
> 4.  Find the system id of the story by typing in the URL box: rest-1.v1/Data/Story?where=Number='B-1234'&sel=Name
>
> 5.  Click the GET button
>
> 6.  In the lower large textarea, you will see xml like this:
>
> <?xml version="1.0" encoding="UTF-8"?><Assets total="1" pageSize="2147483647" pageStart="0"><Asset href="/versionone8.1/rest-1.v1/Data/Story/1072" id="Story:1072"><Attribute name="Name">Customer List</Attribute></Asset></Assets>
>
> 7.  Now copy the system id (above, it is 1072), and type into the URL box: rest-1.v1/Data/Story/1072?op=DeepCopy
>
> 8.  Click the POST button
>
> 9.  Again, you will get XML in that lower text box, which will tell you the ID of the new Story you just created (by copying the old one).
>
> 10.Now copy that new id (let's say it's 2000), and type into the url box: rest-1.v1/Data/Story/2000?op=MakeTemplate
>
> 11.Click the POST button
>
> Assuming your POSTS went through with an HTTP 200 status, you should now have a template that is an exact copy of the original story. Enjoy.
>
> -Maggie
>
>
>
> -----Original Message-----
> From: versiono...@googlegroups.com [mailto:versiono...@googlegroups.com] On Behalf Of jb99900
> Sent: Tuesday, July 08, 2008 3:51 PM
> To: VersionOne-users
> Subject: Creating Templates
>
> Is there a way to create backlog template from an existing backlog
>
> item?
>
> Thanks,
>
> J. Beasley- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages