Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Select Type from Task
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
danno  
View profile  
 More options Jul 16 2012, 4:14 pm
From: danno <dgustav...@ingdirect.com>
Date: Mon, 16 Jul 2012 13:14:17 -0700 (PDT)
Local: Mon, Jul 16 2012 4:14 pm
Subject: Select Type from Task

Hello,

In my Task query, how can I pull in the task Type?

This is my current query:
http://myserver/VersionOne/rest-1.v1/Data/Task?sel=Scope.Name,Parent....

Thanks,
Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
danno  
View profile  
 More options Jul 17 2012, 9:40 am
From: danno <dgustav...@ingdirect.com>
Date: Tue, 17 Jul 2012 06:40:04 -0700 (PDT)
Local: Tues, Jul 17 2012 9:40 am
Subject: Re: Select Type from Task

Category.Name


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ramachandra, Rajesh  
View profile  
 More options Jul 17 2012, 6:12 pm
From: "Ramachandra, Rajesh" <rramachan...@ingdirect.com>
Date: Tue, 17 Jul 2012 22:12:55 +0000
Local: Tues, Jul 17 2012 6:12 pm
Subject: RE: Select Type from Task

Hi ,

I am new to this group..

How do I pull all the sprints for a specific team..?

What query I need to use for this..?

Thanks in advance.

Raj

From: versionone-dev@googlegroups.com [mailto:versionone-dev@googlegroups.com] On Behalf Of Gustavsen, Daniel
Sent: Monday, July 16, 2012 1:14 PM
To: versionone-dev@googlegroups.com
Subject: Select Type from Task

Hello,

In my Task query, how can I pull in the task Type?

This is my current query:
http://myserver/VersionOne/rest-1.v1/Data/Task?sel=Scope.Name,Parent....

Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups "VersionOne-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/versionone-dev/-/Bz8l3foHHiYJ.
To post to this group, send email to versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups.com>.
To unsubscribe from this group, send email to versionone-dev+unsubscribe@googlegroups.com<mailto:versionone-dev+unsubscri be@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/versionone-dev?hl=en.

*************************************************************************** **
This email may contain confidential or privileged information. If you believe
 you have received the message in error, please notify the sender and delete
the message without copying or disclosing it.
*************************************************************************** **


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile  
 More options Jul 17 2012, 8:08 pm
From: ibuchanan <ian.bucha...@versionone.com>
Date: Tue, 17 Jul 2012 17:08:47 -0700 (PDT)
Local: Tues, Jul 17 2012 8:08 pm
Subject: Re: Select Type from Task

Rajesh,

Welcome to the group. As a first pointer, I would suggest starting a new
thread for a new question. Next, I recommend reading up on the core API
documentation. The example-based approach makes it a great learning
resource.
http://community.versionone.com/sdk/Documentation/DataAPI.aspx

To your specific question, one of the first things you need from the above
document is the "secret decoder ring" for converting the things you see in
the UI to the name in the underlying system. When you look at Table 1,
you'll see that Sprint in the UI maps to Timebox in the system. As the
documentation shows, it is usually helpful to query the metadata first, as
so:
https://www14.v1host.com/v1sdktesting/meta.v1/Timebox?xsl=api.xsl

Based on the attributes for Timebox, let's get a list of all Timeboxes with
just Name, Begin Date, and State Code, showing only 10 at a time:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Timebox?sel=Name...

The next part of the query gets really interesting. You said Sprints for a
specific Team. While there is an asset type for Team, there's no direct
relationship between Team and Timebox. Moreover, I suspect you really have
a Project node for your team. Again, using Table 1, we can see the asset
type is called Scope. What makes this really iteresting is that you see
Sprints in a Project in the UI but there's an indirection through Schedule.
So, we need to know which Scope is the parent:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Scope?sel=Name,B...

For the sake of example, I may have determined the Scope of interest is
Scope:1025. So, to get the Timeboxes in that Scope:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Timebox?sel=Name...

(Note: in a real production API client, you aren't required to use the
paging attribute. However, some sets of data can be huge, so for testing
and experimentation, it's a good idea. For all queries above, you can use
admin/admin credentials. There's a lot of data in that sandbox so be sure
to use paging.)

The docs will give you a lot more context for how I got to the last step.
Hope that helps.

Yours truly,
Ian Buchanan
Product Manager for Platform and Integrations


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ramachandra, Rajesh  
View profile  
 More options Jul 18 2012, 1:54 pm
From: "Ramachandra, Rajesh" <rramachan...@ingdirect.com>
Date: Wed, 18 Jul 2012 17:54:13 +0000
Local: Wed, Jul 18 2012 1:54 pm
Subject: RE: Select Type from Task

Thanks a lot Ian.

Regards
Raj

From: versionone-dev@googlegroups.com [mailto:versionone-dev@googlegroups.com] On Behalf Of ibuchanan
Sent: Tuesday, July 17, 2012 5:09 PM
To: versionone-dev@googlegroups.com
Subject: Re: Select Type from Task

Rajesh,

Welcome to the group. As a first pointer, I would suggest starting a new thread for a new question. Next, I recommend reading up on the core API documentation. The example-based approach makes it a great learning resource.
http://community.versionone.com/sdk/Documentation/DataAPI.aspx

To your specific question, one of the first things you need from the above document is the "secret decoder ring" for converting the things you see in the UI to the name in the underlying system. When you look at Table 1, you'll see that Sprint in the UI maps to Timebox in the system. As the documentation shows, it is usually helpful to query the metadata first, as so:
https://www14.v1host.com/v1sdktesting/meta.v1/Timebox?xsl=api.xsl

Based on the attributes for Timebox, let's get a list of all Timeboxes with just Name, Begin Date, and State Code, showing only 10 at a time:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Timebox?sel=Name...

The next part of the query gets really interesting. You said Sprints for a specific Team. While there is an asset type for Team, there's no direct relationship between Team and Timebox. Moreover, I suspect you really have a Project node for your team. Again, using Table 1, we can see the asset type is called Scope. What makes this really iteresting is that you see Sprints in a Project in the UI but there's an indirection through Schedule. So, we need to know which Scope is the parent:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Scope?sel=Name,B...

For the sake of example, I may have determined the Scope of interest is Scope:1025. So, to get the Timeboxes in that Scope:
https://www14.v1host.com/v1sdktesting/rest-1.v1/Data/Timebox?sel=Name...

(Note: in a real production API client, you aren't required to use the paging attribute. However, some sets of data can be huge, so for testing and experimentation, it's a good idea. For all queries above, you can use admin/admin credentials. There's a lot of data in that sandbox so be sure to use paging.)

The docs will give you a lot more context for how I got to the last step. Hope that helps.

Yours truly,
Ian Buchanan
Product Manager for Platform and Integrations

On Tuesday, July 17, 2012 6:12:55 PM UTC-4, Ramachandra, Rajesh wrote:

Hi ,

I am new to this group..

How do I pull all the sprints for a specific team..?

What query I need to use for this..?

Thanks in advance.

Raj

From: versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups.com> [mailto:versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups. com>] On Behalf Of Gustavsen, Daniel
Sent: Monday, July 16, 2012 1:14 PM
To: versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups.com>
Subject: Select Type from Task

Hello,

In my Task query, how can I pull in the task Type?

This is my current query:
http://myserver/VersionOne/rest-1.v1/Data/Task?sel=Scope.Name,Parent....

Thanks,
Dan
--
You received this message because you are subscribed to the Google Groups "VersionOne-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/versionone-dev/-/Bz8l3foHHiYJ.
To post to this group, send email to versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups.com>.
To unsubscribe from this group, send email to versionone-dev+unsubscribe@googlegroups.com<mailto:versionone-dev+unsubscri be@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/versionone-dev?hl=en.

*************************************************************************** **

This email may contain confidential or privileged information. If you believe

you have received the message in error, please notify the sender and delete

the message without copying or disclosing it.

*************************************************************************** **

--
You received this message because you are subscribed to the Google Groups "VersionOne-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/versionone-dev/-/LYFUWl3D8M8J.
To post to this group, send email to versionone-dev@googlegroups.com<mailto:versionone-dev@googlegroups.com>.
To unsubscribe from this group, send email to versionone-dev+unsubscribe@googlegroups.com<mailto:versionone-dev+unsubscri be@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/versionone-dev?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »