Skip to content

Python helper script that create a new JIRA bug entry from an existing Launchpad bug id

License

Notifications You must be signed in to change notification settings

jocave/lp-to-jira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lp-to-jira

Python helper script that create a new JIRA bug entry from an existing Launchpad bug id

Launchpad

https://launchpad.net/ lp-to-jira will access launchpad as a anonymous user for now so private bug might not be visible

JIRA

a JIRA account is required You will need to setup a JIRA token to access your server. On the first launch lp-to-jira will assist you in getting your jira API token. JIRA API token can be created here https://id.atlassian.com/manage-profile/security/api-tokens

Usage:

Usage: lp-to-jira [options] bug-id project-id

Create JIRA entry for a given Launchpad bug ID

options:
    -e, --exists"
                Look if the Launchpad Bug has alreaady been imported
                print the JIRA issue ID if found
    -l, --label LABEL
                Add LABEL to the JIRA issue after creation
    -s SYNC_PROJECT_BUGS, --sync_project_bugs=SYNC_PROJECT_BUGS
                The name of the LP Project. This will bring in every
                bug from your project if you do not also specify days
    -d DAYS, --days=DAYS
                Only look for LP Bugs in the past n days
    --no-lp-tag

Examples:
    lp-to-jira 3215487 FR
    lp-to-jira -e 3215487 FR
    lp-to-jira -l ubuntu-meeting 3215487 PR
    lp-to-jira -s ubuntu -d 3 IQA

lp-to-jira-report

Python helper script that produce reports listing all the bugs in a given project that have been imported with lp-to-jira (issues that have LP#1234567 in their titles) This report will show JIRA status for the issues and LP status for the related LP bugs in all impacted series.

Usage:

usage: lp-to-jira-report [options] project-id

Report the status of all active LaunchPad bug imported
into a JIRA project with lp-to-jira

options:
    --csv FILE
        export the results of the report into FILE in csv format
    --html FILE
        export the results of the report into FILE in html format
    --json FILE
        export the results of the report into FILE in json format
    default:
        display the report on stdout

Examples:
    lp-to-jira-report FR
    lp-to-jira-report --csv  results.csv  FR
    lp-to-jira-report --json results.json FR
    lp-to-jira-report --html results.html FR

About

Python helper script that create a new JIRA bug entry from an existing Launchpad bug id

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%