[jbosstools-issues] [JBoss JIRA] (JBIDE-18762) Pull description field from a given component's JSON in order to determine its parent project (Python scriptlet?)

Max Rydahl Andersen (JIRA) issues at jboss.org
Thu Feb 12 17:33:48 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-18762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-18762:
----------------------------------------
    Fix Version/s: 4.3.0.Alpha2
                       (was: 4.3.0.Alpha1)


> Pull description field from a given component's JSON in order to determine its parent project (Python scriptlet?)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18762
>                 URL: https://issues.jboss.org/browse/JBIDE-18762
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: build
>    Affects Versions: 4.2.0.Final
>            Reporter: Nick Boldt
>            Priority: Minor
>             Fix For: 4.3.0.Alpha2
>
>
> Max:
> {quote}Couldn't we actually "encode" that in the description field on Jira so these scripts and the ones in jiralint and whatsnew scripts could share that info ? {quote}
> Nick:
> {quote}You mean add something like #jbosstools-aerogear into the description so we can parse it over the REST API?
> Yes, we could pull the description field as JSON:
> https://issues.jboss.org/rest/api/2/component/12320840{quote}
> The above tiny script could then be called from other scripts to pull a parent project name for any given properly declared JIRA component, in order to avoid maintenance like this:
> https://github.com/jbosstools/jbosstools-build-ci/pull/115
> https://github.com/jbdevstudio/jbdevstudio-ci/pull/141



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list