Rally Software

  • 1.  Not able to parse the Artifact Type

    Posted Aug 14, 2017 05:24 AM

     

    security/authorize/slm/webservice/v2.0/workspace" while debugging for the below query.

    No response is generated for this code.

     

    Code is :

     

    RallyRestApi  restApi = new RallyRestApi(

                                new URI(rallyURL),

                                userName,

                                userPassword);

    restApi.setProxy(new URI(URL), username , password);

                           

     

    QueryRequest workspaceRequest = new QueryRequest("Workspace");

    workspaceRequest.setFetch(new Fetch("Name", "Owner", "Projects"));

    workspaceRequest.setQueryFilter(new QueryFilter("Name","=","Workspacename"));

     

    QueryResponse response = restApi.query(workspaceRequest);



  • 2.  Re: Not able to parse the Artifact Type
    Best Answer

    Posted Aug 14, 2017 03:34 PM

    Hi Avinash,

     

    I believe this is a duplicate post. Here was my reply from today:

     

    Can you please post the value for the rallyURL variable? From the error it seems like you might have the wrong connection endpoint. This is how it should look:

     

    RallyRestApi  restApi = new RallyRestApi(

                                new URI("https://rally1.rallydev.com"),

                                userName,

                                userPassword);

     

     Let me know if that helps.

    Sean Davis