Exemple #1
0
        public Story MoveStory(int projectId, int storyId, MovePositionEnum move, int targetStoryId)
        {
            var path = string.Format("/projects/{0}/stories/{1}/moves?move\\[move\\]={2}&move\\[target\\]={3}",
                                     projectId,
                                     storyId,
                                     move,
                                     targetStoryId);
            var e = this.RequestPivotal <StoryXmlResponse>(path, null, "POST");

            return(CreateStory(e));
        }
        public Story MoveStory(int projectId, int storyId, MovePositionEnum move, int targetStoryId)
        {
            var path = string.Format("/projects/{0}/stories/{1}/moves?move\\[move\\]={2}&move\\[target\\]={3}",
                projectId,
                storyId,
                move,
                targetStoryId);
            var e = this.RequestPivotal<StoryXmlResponse>(path, null, "POST");

            return CreateStory(e);
        }