Skip to content

slatkovic/trally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trally

Description

Import Rally tickets into Trello.

Prerequisites

  1. Get a Trello API key and a write token. Pro tip: When generating the token, set the expiration parameter to 'never'.
  2. Manually create a Trello board w/ lists
  3. Create a new Rally API key

Example usage

var trallyFactory = require('trally');
var trally = trallyFactory({
  rallyApiKey: 'rally-api-key',
  trelloApiKey: 'trello-api-key',
  trelloToken: 'trello-token'
});

var RallyState = trally.constants.RallyState;
var importService = trally.services.importService;

var importParams = {
  rallyProjectId: 'project-id',
  trelloBoardName: 'board-name',
  stateMappings: [
    [RallyState.BACKLOG, 'ToDo'],
    [RallyState.DEFINED, 'ToDo'],
    [RallyState.IN_PROGRESS, 'Active'],
    [RallyState.COMPLETED, 'Testing'],
    [RallyState.ACCEPTED, 'Done']
  ]
};

importService.importCurrentRallySprintIntoTrello(importParams).then(function() {
  console.log('Tickets imported');
}).catch(function(e) {
  console.log('Error while importing', e);
}).done();

About

Trello/Rally integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published