org.jenkinsci.jira_scraper
Class JiraScraper

java.lang.Object
  extended by org.jenkinsci.jira_scraper.JiraScraper

public class JiraScraper
extends Object

Author:
Kohsuke Kawaguchi

Constructor Summary
JiraScraper()
           
 
Method Summary
 void createComponent(String projectKey, String subcomponent, String owner, com.atlassian.jira.rest.client.domain.AssigneeType defaultAssignee)
          JIRA doesn't have the SOAP API to create a component, so we need to do this via a HTTP POST and page scraping.
static void main(String[] args)
           
 void setDefaultAssignee(String projectId, String component, com.atlassian.jira.rest.client.domain.AssigneeType assignee)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraScraper

public JiraScraper()
            throws IOException
Throws:
IOException
Method Detail

createComponent

public void createComponent(String projectKey,
                            String subcomponent,
                            String owner,
                            com.atlassian.jira.rest.client.domain.AssigneeType defaultAssignee)
                     throws IOException
JIRA doesn't have the SOAP API to create a component, so we need to do this via a HTTP POST and page scraping.

Throws:
IOException

setDefaultAssignee

public void setDefaultAssignee(String projectId,
                               String component,
                               com.atlassian.jira.rest.client.domain.AssigneeType assignee)
                        throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2004-2011. All Rights Reserved.