JSFiddle

  • VersionOne API 101: Fetch a Story by ID with Backbone.js #8 is the latest revision

    The simplest thing that could possibly work! 25 lines of CoffeeScript to use the VersionOne REST API with Backbone.js and its Model class and Backbone.sync API.

    urlRoot = "http://eval.versionone.net/platformtest/rest-1.v1/Data/Story/"
    headers = { Authorization: "Basic " + btoa("admin:admin"), Accept: "haljson" }
    attributes = ['Name ...
  • VersionOne API 101: Fetch a Story by ID with Backbone.js

    The simplest thing that could possibly work! 25 lines of CoffeeScript to use the VersionOne REST API with Backbone.js and its Model class and Backbone.sync API.

    urlRoot = "http://eval.versionone.net/platformtest/rest-1.v1/Data/Story/"
    headers = { Authorization: "Basic " + btoa("admin:admin"), Accept: "haljson" }
    attributes = ['Name ...
  • VersionOne API 101: An Agile User Story Editor in 101 Lines

    Build a simple, open-source agile user story editor in exactly 80 lines of CoffeeScript using Backbone.js, Backbone Forms, jQuery, and the VersionOne REST API! You could easily adapt this to save your user story into any tool of your choice. Note: the same thing takes 101 lines in JavaScript!

    StoryFormSchema =
      Name:
        validators: ['required']
      Description:
        type: 'TextArea'
      Benefits:
        type: 'TextArea'
      Estimate:
        type: 'Number'
      RequestedBy: {}
        
    storyForm = null
    
    urlRoot = 'http://eval.versionone ...
  • VersionOne API 101: An Agile User Story Editor in 101 Lines #5 is the latest revision

    Build a simple, open-source agile user story editor in exactly 101 lines of JavaScript using Backbone.js, Backbone Forms, jQuery, and the VersionOne REST API! You could easily adapt this to save your user story into any tool of your choice.

    // Service urls, and HTTP settings
    var urlRoot = 'http://eval.versionone.net/platformtest/rest-1.v1/Data/Story/';
    
    var headers = { 
        Authorization: "Basic ...