[jbosstools-issues] [JBoss JIRA] (JBIDE-21363) create bugzilla importer for JIRA

Max Rydahl Andersen (JIRA) issues at jboss.org
Thu Dec 17 18:21:00 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-21363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142809#comment-13142809 ] 

Max Rydahl Andersen commented on JBIDE-21363:
---------------------------------------------


Here is how to get the content via python:

{code}
import bugzilla

import pprint
pp = pprint.PrettyPrinter()

bz = bugzilla.Bugzilla(url="https://bugs.eclipse.org/bugs/xmlrpc.cgi")

query = bz.url_to_query("https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=RHT")

issues = bz.query(query)

for bug in issues:
    print '%s - %s [%s, %s, [%s]] -> %s' % (bug.id, bug.summary, bug.product, bug.component, bug.target_milestone, bug.weburl)
{code}

gives:

{code}
310411 - Toggling of breakpoints should not happen on the UI thread [WTP Source Editing, wst.sse, [Future]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=310411
443097 - Ignore undefined HTML attributes, elements validation with extension point [WTP Source Editing, wst.html, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=443097
459732 - Bower IDE contribution [JSDT, General, [Future]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=459732
464535 - Support for Smart Import mechanism [m2e, ui, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=464535
470328 - Extension point to delegate JSDoc "Generate Element Comment" [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=470328
471820 - [contribution] Eclipse WTP JSON Editor [WTP Source Editing, wst.sse, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=471820
472614 - Migrate Smart Project Importer to Eclipse Platform UI [Platform, UI, [4.6]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=472614
473559 - [language support] Add support for ECMAScript 2015 [JSDT, Web, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=473559
477030 - [ES6] Support for ECMAScript 6 syntax coloration [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=477030
477031 - [ES6] Support for ECMAScript 6 validation [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=477031
479466 - Support node.js debugging [JSDT, Debug, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=479466
481344 - JSDT should support the use of sourcevalidation extension point [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=481344
481706 - Update or replace JSDT parser to support ES6 [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=481706
481828 - Node.js-based JavaScript Dependency Management Tools: bower, npm [JSDT, General, [3.8]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=481828
482054 - Support for Unit testing similar to JDT Junit [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=482054
482841 - JSDT to utilize org.eclipse.wst.validation.validatorV2 extension point [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=482841
483398 - JavaScript Task Runner: grunt [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=483398
483399 - Need to add JavaScript  Build System: gulp [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=483399
484068 - Contribution of Smart Import extension for Java EE development [WTP Incubator, incubator, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=484068
484418 - Need to improve js tools (npm / bower) launch [JSDT, General, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=484418
484597 - Launch configuration for  node.js applications [JSDT, Debug, [---]] -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=484597
{code}

This uses `python-bugzilla` you can install via `pip install python-bugzilla`



> create bugzilla importer for JIRA
> ---------------------------------
>
>                 Key: JBIDE-21363
>                 URL: https://issues.jboss.org/browse/JBIDE-21363
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 4.3.1.Beta1, 4.4.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>
> Looking to create some kind of jiralint-like scraper tool to facilitate JIRA-like scrum/dashboard tracking of upstream projects, not located in JBoss JIRA.
> This scraper would:
> * [REQ1] find all bugzillas associated with a particular query, such as  https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=RHT (18 issues)
> * [REQ2] generate a JIRA for each one found (no dupes should be created)
> * [REQ3] scrape several fields: product, component, version, target milestone, comment #0, summary, bug #
> * [REQ4] need a mapping table for Eclipse-prod:proj:component:fixversion-or-target-milestone to Neon milestone so we can set default values for affectsversion/fixversion/targetrelease in created JIRAs. 
> * [REQ5] need a mapping table for Eclipse-prod:proj:component to ERT:component, eg., WTP:JSDT -> javascript
> * [REQ6] created test issues here: https://issues.stage.jboss.org/browse/ERT
> * [REQ7] run as a Jenkins job every 3 hours
> Generated JIRA example:
> {code}
> title: (scraped from summary) Support for smart Import Mechanism [Eclipse BZ 464535] 
> issue link: (scraped from BZ ID#) https://bugs.eclipse.org/464535
> description: (scraped from BZ comment #0)
> affectsversion: (scraped from BZ version 1.6.0)
> fixversion: (scraped from BZ target milestone ---)
> component: (scraped from product:component = m2e:ui)
> labels: RHT, ERT
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list