GithubHelp home page GithubHelp logo

stephanieerin / jira-github-issue-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weareswat/jira-github-issue-sync

2.0 2.0 2.0 357 KB

Sync jira's stories/sprints to github's milestones/issues

JavaScript 100.00%

jira-github-issue-sync's Introduction

jira-github-issue-sync

Syncs jira's stories/sprints to github's milestones/issues.

Install

npm install -g stephanieerin/sync-jira-github

Run

You need to create a json file with github and jira confiurations. Then you can run:

sync-jira-github project.json

You have an example at project-example.json.

Implementation Notes

  1. The repo that's listed in the project.json file will be used if there isn't a label on the task. You should configure JIRA to automatically assign labels or to require them.
  2. You need to have milestones created in Github for the sprint you're working with. Currently, it will create a milestone on the default repo but NOT on any additional repositories. You can manually add them in the client and the issues will be created appropriately.

Current Limitations

  • Would we rather: have a static list of possible repos and check/create milestones according to the current active sprint OR manually add sprints to each repo when you create a new sprint. Considering there are only a handful of repos (this could be put in the project.json file) that we work with, adding each repo will probably come up a lot less than every sprint.

Current Repos: <<<<<<< HEAD ozp-rest, center-ui, hud, ozp-rest-jmeter, ozp-documentation

ozp-rest center-ui hud ozp-rest-jmeter ozp-docs

working

  • Another thing to look at is our user mapping. Currently when you assign an issue in JIRA it will look for the right user to assign it to based on user mapping in the project.json file. We have to make sure everyone on the team a) has a github user name and b) that each subtask is assigned before we add them (or we can set up a default assignee in github or something).

Developer To Dos:

  • Fix broken transition functionality (close a Jira issue when a github issue is closed)
    • Nice to have: include commit notes in a comment with close?
  • Add repo list to project.json and functionality to gather ALL github tickets from ALL repos at the beginning (to avoid recreating the same issues in github over and over)
  • Add sync await to avoid nested things, forcing synchronous behavior in an async application
  • Update assignee in GitHub if Jira assignee changes

Authentication

GitHub Account:

  • username: ozp-jira-github
  • password: Pa22word
  • email: [email protected]
    • You only need the email address to reset the password on this account

Jira Account:

  • username: ozp-jira-github
  • password: Pa22word
  • email: [email protected]
    • You only need the email address to reset the password on this account

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.