项目作者: noma4i

项目描述 :
Redmine Plugin to Sync Pivotal Tracker with Redmine and vise versa
高级语言: Ruby
项目地址: git://github.com/noma4i/pivotal_miner.git
创建时间: 2016-03-19T04:43:39Z
项目社区:https://github.com/noma4i/pivotal_miner

开源协议:MIT License

下载


Redmine PivotalMiner Plugin

Two-Way sync Pivotal Tracker stories/tasks to Redmine. Successor of Trackmine plugin

Features

  • Updating story in a Pivotal Tracker automatically creates a correspondent Redmine issue
  • Map what to import. All User Stories are selected tags only
  • Perform Import existing Pivotal Project Stories
  • Pivotal Story tasks are created as related issues in Redmine.
  • Updating a story in a Pivotal Tracker updates the Redmine issue attributes (subject, description, status)
  • Redmine Issue status change will update Pivotal Story state
  • Story points and Estimate hours are two-way synced
  • Redmine keeps Pivotal Tracker description separate from Issue description
  • Mapping between Pivotal Tracker and Redmine attributes can be configured
  • Change priority in Redmine with tags from Pivotal Story and vise versa
  • Milestones are maintained between Pivotal and Redmine via Tags
  • Map any Redmine Status to any Pivotal State
  • Map Redmine Users to Pivotal manual or with email automatcher
  • Redmine keeps journal of all changes made via Sync
  • Selective Sync(choose what parts of US or Issues to Sync)a

Compatibility

  • Tested with Redmine 2.3.x - 2.4.x
  • Known to be working with 2.4.x - 3.1.x

Setup

Installation

Clone it into under plugins folder:

  1. $ git clone https://github.com/noma4i/pivotal_miner.git

Install missing gems:

  1. $ bundle install

Run migrations:

  1. $ rake redmine:plugins:migrate

Configuration. Redmine side

pivotal_miner.yml

First of all you will need to setup pivotal_miner.yml (example included) and place it under config folder in Readmine

  1. super_user:
  2. token: PIVOTAL_TRACKER_TOKEN
  3. mappings:
  4. # tracker name for SubTasks
  5. tasks: Task
  6. # status name for task in Redmine in case it was deleted from Pivotal Tracker
  7. removed_task: Rejected
  8. # Tag name in Pivotal to change priority
  9. priority:
  10. P1: Immediate
  11. P2: Urgent
  12. P3: High
  13. P4: Medium
  14. P5: Low
  15. # User stories states map to Redmine issue states and vise versa
  16. story_states:
  17. unstarted: Pending
  18. started: Implementation
  19. finished: Resolved
  20. delivered: Resolved
  21. accepted: Closed
  22. rejected: Pending
  23. # Redmine Issue states map to Pivotal Story states
  24. issue_states:
  25. Pending: unstarted
  26. Implementation: started
  27. Resolved: finished
  28. Resolved: delivered
  29. Closed: accepted
  30. Pending: rejected
  31. Rejected: rejected
  32. # Redmine states map to Pivotal SubTasks 'ticks'
  33. task_states:
  34. Pending: open
  35. Implementation: open
  36. Resolved: closed
  37. Closed: closed
  38. Accepted: open

Create Custom Fields to enable plugin syncs:

Issue
  • Pivotal Story ID (type: integer)
  • Pivotal Task ID (type: integer)
  • Pivotal Project ID (type: integer)
  • Pivotal Story Description (type: text)
User
  • Pivotal User ID (type: integer)

Configuration. Pivotal Tracker side

Add Web Hook Url pointing to your Redmine app. To do that:

  • On your project page choose Project -> Configure Integrations
  • Find Activity Web Hook section

In Web Hook Url put [redmine_app_url]/pivotal_activity.json API_VERSION: 5

Example:

http://my-company-redmine-site.org/pivotal_activity.json

Usage

Navigate to Administration panel and open Pivotal Miner. You will need to setup what projects to sync and what lablels to take. If you have users to link between Pivotal Tracker and Redmine you can make it manualy or automaticaly if emails are same.

Author

Copyright (c) 2016 Alexander Tsirel @noma4i

Copyright (c) 2010 - 2015 Capita Unternehmensberatung GmbH. See LICENSE for details.

kindly sponsored by Texuna Technologies Ltd

Contribution Guide

Open Issue or send PR ;)