Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18762

Pull description field from a given component's JSON in order to determine its parent project (Python scriptlet?)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Minor
    • 4.3.x
    • 4.2.0.Final
    • build
    • None

    Description

      Max:

      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 ?

      Nick:

      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

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: