Create, read, update, and delete a story
Description
Create, read, update, and delete a story
Usage
getStory(story) createStory(...) editStory(story, ...) deleteStory(story)getStory(story) createStory(...) editStory(story, ...) deleteStory(story)
Arguments
story |
An id string or URL to a Story |
... |
Story attributes to either |
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
## 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)## 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)