Git Product home page Git Product logo

jira2v1's Introduction

jira2v1

This node script searches an Atlassian JIRA instance for defects and creates a task for each in a VersionOne story. It ignores JIRAs that may have already been added from a previous run.

Install

Clone this repository. In the root of the project, run:

npm install

The script uses the package 'dotenv' to store your username and password for both JIRA and VersionOne. Create an .env file in the script directory with the following entries:

.env

V1USER={username}
V1PASS={password}
JIRAUSER={username}
JIRAPASS={password}

JIRA_BASE_URI = 'http://www.yourjira.com'
JIRA_JQL = 'project = abc AND status in (open) AND type = Defect AND resolution = Unresolved'
V1_STORY_ID = 876543 (Not the S-12345 looking thing)
V1_BASE_URI = 'http://www.yourv1.com'

Optional Entries:

V1_TASK_HOURS={number of hours you would like each task to be. Default: 4}
V1_TASK_DESCRIPTION_DETAIL={short or long. Default: long}

Configure

  • Change the JIRA_JQL in the .env file. This is the JIRA query statement. The resulting defects that will be copied to V1 as Tasks with links.
  • Change the V1_STORY_ID in the .env file. This is the target story where all tasks will be created. This is not the S-109579 looking thingy. It's the id found in the URL for the story if you click on it.

Run

npm start

or

node jira2v1

Observe

Take a long draw on the beverage of your choice. Your flatmate might appreciate a comment about the lovely weather. At your leisure, inspect the taskboard, and note the recent additions.

jira2v1's People

Contributors

jeffreythawkins avatar skye2k2 avatar

Watchers

James Cloos avatar

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.