-4

I am using the VersionOne Python SDK, and want to know the story names inside a certain project (Scope) i have the project (Scope) id and name , Using this project ID and name how to get the Story ID and Name?

v1 = V1Meta()

for scopeobj in v1.Scope.select('ID','Name').where(Name='Work Management'): print scopeobj.ID # this print the scpe ID

But how to get the Story Names and ID, inside the project(Scope).

saheb
  • 1
  • 2

1 Answers1

1

you can use this approach:

The "filter" operator will take arbitrary V1 filter terms.

Here's the Documentation about that:

v1 = V1Meta() for story in v1.Story.filter("Scope.ID='Scope:1122'"): print story print story.Name