Clarity: Synchronize Agile Central Fails due to double slash in the API Call when connected to Rally EU Instance  https://eu1.rallydev.com

book

Article ID: 197602

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Clarity: Synchronize Agile Central Fails due to double slash in the API Call when connected to Rally EU https://eu1.rallydev.com

STEPS TO REPRODUCE: 

1. Login to Clarity 
2. Configure the pre requisite of Synchronize Agile Central Job 
3. Run the job Synchronize Agile Central Fails 
4. Error in the job logs looks like 

DEBUG 2020-08-17 18:29:26,514 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] ppm.rally (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) About to get porfolio Item with Id=f70b815f-20e6-4dfb-a1d0-748b85e1a8c9
DEBUG 2020-08-17 18:29:26,729 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] ppm.rally (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) Parent Portfolio Type = Epic Leaf Portfolio Type = Feature
DEBUG 2020-08-17 18:29:26,729 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] ppm.rally (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) Parent Portfolio Type hash map key = portfolioitem/epic
DEBUG 2020-08-17 18:29:26,729 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] ppm.rally (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) Leaf Portfolio Type hash map key = portfolioitem/feature
INFO  2020-08-17 18:29:26,776 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] service.PortfolioItemService (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) Endpoint URL =  //portfolioitem/feature.js?start=1&pagesize=200&fetch=Name%2CFormattedID%2CObjectID%2C_refObjectUUID%2C_ref%2CPlannedStartDate%2CPlannedEndDate%2CRelease%2CMilestones%2CInvestmentCategory%2CRiskScore%2CValueScore%2CWSJFScore%2CDescription%2CPercentDoneByStoryCount%2CPercentDoneByStoryPlanEstimate%2CState%2CPreliminaryEstimate%2CParent%2CPortfolioItemType%2CLastUpdateDate&order=ObjectID&query=%28Parent.ObjectUUID+%3D+f70b815f-20e6-4dfb-a1d0-748b85e1a8c9%29&workspace=%2Fworkspace%2F6872591c-4609-489a-98f2-656bec27f3d0
ERROR 2020-08-17 18:29:26,836 [Dispatch Synchronize Agile Central : [email protected] (tenant=clarity)] ppm.agl (clarity:admin:8474117__5A429B6E-12C0-4131-8E78-3E68145AB0AB:Synchronize Agile Central) 
java.io.IOException: HTTP/1.1 404 Not Found
              at com.rallydev.rest.client.HttpClient.executeRequest(HttpClient.java:163)
              at com.rallydev.rest.client.HttpClient.doRequest(HttpClient.java:145)
              at com.rallydev.rest.client.ApiKeyClient.doRequest(ApiKeyClient.java:37)


Expected Results: The job should be successful  

Actual Results:The job fails with the error 404 due to // (back slash) in the API call 

 

Cause

  • This is logged as defect for clarity DE57280 where the double back slash will be removed from Clarity Job code
  • The backslash in API call works in Rally NA https://rally1.rallydev.com and breaks in Rally EU https://rally1.rallydev.com and Rally team is working to see if double slash to be allowed in the API call 

Environment

Release : 15.8.1

Component : CA PPM SAAS RALLY

Resolution

  • Rally team has fixed to allow the double slash (//)  in the API Call in EU Rally Instance
  • Clarity engineering team has fixing the defect DE57280 to remove double slash (//) in 15.9