story: Create, read, update, and delete a story

Description Usage Arguments Value Examples

Description

Create, read, update, and delete a story

Usage

1
2
3
4
5
6
7

Arguments

story

An id string or URL to a Story

...

Story attributes to either createStory or editStory. See a list of valid attributes at https://www.pivotaltracker.com/help/api/rest/v5#projects_project_id_stories_post. name is required on creation; all other fields are optional.

Value

deleteStory returns nothing, while the other functions all return a 'story' object: either the requested story (getStory), the newly created story (createStory), or the current state of the modified story editStory.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
new_bug <- createStory(
    name="Flux capacitor hangs at 0.9 gigawatts",
    description="Please investigate and fix.",
    story_type="bug"
)
new_bug <- editStory(new_bug, current_state="started")
deleteStory(new_bug)

## End(Not run)

pivotaltrackR documentation built on May 2, 2019, 8:22 a.m.