2
votes

I'm trying to update Rally's user story with Release value when no release value is set.

I'm using .Net Rally Rest API to do this. It works for majority of user stories (like 4000 of them). There are few where it runs into the following error. "Desired release is not in project scope for story" When trying to update.

For some userstories, I noticed they were child stories with Parent user story does not have release value. Not sure if it matters though. There are some that are normal user stories but still fails with the same error. Need help in identifying what is causing this issue thrown by Rally Rest API.

Thanks!

1

1 Answers

0
votes

Epic stories (stories with children) are not schedulable in releases or iterations, but I don't think that's what you're running into here. Most likely the stories that are failing are in a different project and you're attempting to set the release to a release from another project.

When iterations and releases are created there's a little checkbox to create "like" iterations/releases for each project in the hierarchy:

enter image description here

So each project will have its own "Iteration 1" with the same start and end dates. You just need to make sure you're setting each story's release to the corresponding release in that project and you should be good.