Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8927

Create a view from the XML API

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • core

    Description

      Hello,

      It's not possible to create a view from the API, since the views are part of the Hudson config.xml itself, it seems that the createItem URL doesn't match the need as it looks designed to create the new config.xml for a dedicated job.

      The REST API could be some thing like:

      GET http://myserver:8080/view (All views)
      GET http://myserver:8080/view/myView (switch to Specific view - myView)
      POST http://myserver:8080/view (Create new view as defined in the posted XML)

      Can you please have a look?

      Thanks and regards,

      Julien

      Attachments

        Issue Links

          Activity

            foch Julien Faucher created issue -
            jollychang William Zhang made changes -
            Field Original Value New Value
            Labels view
            rdohna RĂ¼diger zu Dohna made changes -
            Link This issue is related to JENKINS-9264 [ JENKINS-9264 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-23172 [ JENKINS-23172 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 139071 ] JNJira + In-Review [ 175010 ]

            People

              Unassigned Unassigned
              foch Julien Faucher
              Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: