dixudx / rtcclient

RTCClient for Rational Team Concert
https://readthedocs.org/projects/rtcclient/
Apache License 2.0
38 stars 45 forks source link

Conflict for url #135

Open MohebaIbu opened 3 years ago

MohebaIbu commented 3 years ago

Hi dixudu, I have used the below method to create the workitem url = "https://jazz/ccm" username = 'user1' password = 'password' self.myclient = RTCClient(url, username, password, ends_with_jazz=False)

ItemType = "Bug" Title = "issue in Automation TC1 " TicketInfo = { "teamArea": "Automation", "ownedBy": "user1", "plannedFor": "", "severity": "", "priority": "Unassigned", "filedAgainst": "Automation" }

new_workitem = self.myclient.createWorkitem(ItemType,Title,projectarea_name='Automation',copied_from = "25", keep=False,**TicketInfo)

while executing this i am getting below error: requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://jazz/ccm/oslc/contexts/_AYHaABX4EeixFZtdqmYqvw/workitems/bugv2.0

MohebaIbu commented 3 years ago

@dixudx please provide update on this!

dixudx commented 3 years ago

@MohebaIbu Any other detailed logs/errors?

MohebaIbu commented 3 years ago

@dixudx i am getting issue similar to this issue https://github.com/dixudx/rtcclient/issues/90

MohebaIbu commented 3 years ago

@dixudx : Please see the below log 2021-03-17 09:38:38,313 DEBUG client.RTCClient: Get response from https://jazz/ccm/authenticated/identity 2021-03-17 09:38:38,317 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:38,816 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/authenticated/identity HTTP/1.1" 302 0 2021-03-17 09:38:38,818 ERROR client.RTCClient: Failed GET request at https://jazz/ccm/authenticated/identity with response: b'' 2021-03-17 09:38:38,820 DEBUG client.RTCClient: Post a request to https://jazz/ccm/authenticated/j_security_check with data: j_username=ABC&j_password=123 and json: None 2021-03-17 09:38:38,822 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:39,487 DEBUG urllib3.connectionpool: https://jazz:443 "POST /ccm/authenticated/j_security_check HTTP/1.1" 302 0 2021-03-17 09:38:39,489 ERROR client.RTCClient: Failed POST request at https://jazz/ccm/authenticated/j_security_check with response: b'' 2021-03-17 09:38:39,490 INFO client.RTCClient: 302 2021-03-17 09:38:39,493 DEBUG client.RTCClient: Get response from https://jazz/ccm/authenticated/identity 2021-03-17 09:38:39,494 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:39,977 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/authenticated/identity HTTP/1.1" 200 None 2021-03-17 09:38:39,979 DEBUG client.RTCClient: Try to get 2021-03-17 09:38:39,979 DEBUG client.RTCClient: Start to fetch all ProjectAreas with [ProjectArea ID: not specified] and [archived=False] 2021-03-17 09:38:39,983 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_startIndex=0 2021-03-17 09:38:39,984 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:40,568 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_startIndex=0 HTTP/1.1" 200 7024 2021-03-17 09:38:40,571 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=10 2021-03-17 09:38:40,572 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:41,096 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=10 HTTP/1.1" 200 7457 2021-03-17 09:38:41,098 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=20 2021-03-17 09:38:41,099 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:41,660 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=20 HTTP/1.1" 200 7361 2021-03-17 09:38:41,662 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=30 2021-03-17 09:38:41,664 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:42,200 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=30 HTTP/1.1" 200 7413 2021-03-17 09:38:42,203 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=40 2021-03-17 09:38:42,204 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:42,807 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=40 HTTP/1.1" 200 8498 2021-03-17 09:38:42,811 DEBUG project_area.ProjectArea: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:members 2021-03-17 09:38:42,812 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:46,839 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:members HTTP/1.1" 200 None 2021-03-17 09:38:47,664 DEBUG project_area.ProjectArea: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:administrators 2021-03-17 09:38:47,665 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:48,203 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:administrators HTTP/1.1" 200 5048 2021-03-17 09:38:48,205 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=50 2021-03-17 09:38:48,206 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:48,775 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=50 HTTP/1.1" 200 7444 2021-03-17 09:38:48,779 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=60 2021-03-17 09:38:48,780 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:49,302 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=60 HTTP/1.1" 200 6923 2021-03-17 09:38:49,304 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=70 2021-03-17 09:38:49,305 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:49,821 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_sdfewwtgbghyGhd_g5esWS&_startIndex=70 HTTP/1.1" 200 2984 2021-03-17 09:38:49,823 DEBUG client.RTCClient: Successfully fetching all the paged resources 2021-03-17 09:38:49,823 INFO client.RTCClient: Find 2021-03-17 09:38:49,828 DEBUG project_area.ProjectArea: Try to get 2021-03-17 09:38:49,829 DEBUG client.RTCClient: Start to fetch all ItemTypes with [ProjectArea ID: _CFggASER45RFVerfksiwkm] and [archived=False] 2021-03-17 09:38:49,830 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/types/_CFggASER45RFVerfksiwkm?oslc_cm.pageSize=10&_startIndex=0 2021-03-17 09:38:49,831 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:50,316 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/types/_CFggASER45RFVerfksiwkm?oslc_cm.pageSize=10&_startIndex=0 HTTP/1.1" 200 8125

2021-03-17 09:38:50,324 DEBUG models.ItemType: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm 2021-03-17 09:38:50,325 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:50,811 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm HTTP/1.1" 200 872 2021-03-17 09:38:50,812 DEBUG client.RTCClient: Successfully fetching all the paged resources 2021-03-17 09:38:50,814 INFO project_area.ProjectArea: Get in 2021-03-17 09:38:50,815 INFO template.Templater: Fetch the template from <Workitem 1073196> with [keep]=True 2021-03-17 09:38:50,819 DEBUG template.Templater: Get response from https://jazz/ccm/oslc/workitems/1073196 2021-03-17 09:38:50,820 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:51,386 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/workitems/1234567 HTTP/1.1" 200 18688 2021-03-17 09:38:51,559 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.apt.attribute.constraintdate] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.apt.attribute.constrainttype] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.attribute.descriptionWiki] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [calm:affectsExecutionResult] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [calm:blocksTestExecutionRecord] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [calm:testedByTestCase] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [calm:implementsRequirement] from the template 2021-03-17 09:38:51,560 DEBUG template.Templater: Successfully remove field [calm:tracksChanges] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:relatedTestCase] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:relatedTestScript] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:relatedExecutionRecord] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:relatedTestPlan] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:tracksRequirement] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:relatedRequirement] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:elaboratedByArchitectureElement] from the template 2021-03-17 09:38:51,561 DEBUG template.Templater: Successfully remove field [calm:affectsPlanItem] from the template 2021-03-17 09:38:51,562 DEBUG template.Templater: Successfully remove field [calm:affectedByDefect] from the template 2021-03-17 09:38:51,568 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotionDefinition.promotionDefinition] from the template 2021-03-17 09:38:51,568 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotedBuildMaps.promotedBuildMaps] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.resolvesworkitem.resolves] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.packaging.linktype.resultWorkItem.promoted] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.package.linktype.packageDefinition.packageDefinition] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotionBuildResult.promotionBuildResult] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf] from the template 2021-03-17 09:38:51,569 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.extractedWorkItem.com.ibm.team.filesystem.reviews.linktype.codereview.extractedFromWorkItem] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedPackages.com.ibm.team.build.common.link.includedInPackages] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.packaging.linktype.resultWorkItem.result] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.scm.common.linkType.tracksUcmObject.t] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.deployment.linktype.deploymentBuildResult.packageBuildResult] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.ccbridge.common.ver2wi.s] from the template 2021-03-17 09:38:51,570 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedDeployments.com.ibm.team.build.common.link.includedInDeployment] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.schedulePredecessor.successor] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.extractedWorkItem.com.ibm.team.filesystem.reviews.link.codereview.extractedWorkItem] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitCommit.gitcommit] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.com.ibm.team.filesystem.reviews.link.codereview] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.resolvesworkitem.resolvedBy] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.scm.common.linkType.importerDependency.t] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitMergeRequest.gitMergeRequest] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.failedChangeSets.failedChangeSets] from the template 2021-03-17 09:38:51,571 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.package.linktype.packageBuildResult.packageBuildResult] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotedChangeSets.promotedChangeSets] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.notPromotedChangeSets.notPromotedChangeSets] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.schedulePredecessor.predecessor] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.gapChangeSets.gapChangeSets] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitIssue.gitIssue] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.deployment.linktype.deploymentDefinition.packageDefinition] from the template 2021-03-17 09:38:51,572 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.promoted] from the template 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [@rdf:about] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [dc:created] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [dc:creator] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [dc:identifier] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:contextId] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:comments] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:state] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [dc:type] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:subscribers] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [dc:modified] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:modifiedBy] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:resolved] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:resolvedBy] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:resolution] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,573 DEBUG template.Templater: Successfully remove field [rtc_cm:startDate] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [rtc_cm:timeSpent] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [rtc_cm:progressTracking] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [rtc_cm:projectArea] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [oslc_cm:relatedChangeManagement] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [oslc_cm:trackedWorkItem] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [oslc_cm:tracksWorkItem] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [rtc_cm:timeSheet] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,574 DEBUG template.Templater: Successfully remove field [oslc_pl:schedule] from the template originated from <Workitem 1234567> 2021-03-17 09:38:51,593 DEBUG client.RTCClient: No missing parameters 2021-03-17 09:38:51,593 ERROR client.RTCClient: 'RTCClient' object has no attribute 'getTeamarea' 2021-03-17 09:38:51,594 ERROR client.RTCClient: 'RTCClient' object has no attribute 'getOwnedby' 2021-03-17 09:38:51,594 ERROR client.RTCClient: 'RTCClient' object has no attribute 'getPlannedfor' 2021-03-17 09:38:51,594 DEBUG client.RTCClient: Try to get 2021-03-17 09:38:51,594 ERROR client.RTCClient: Please specify a valid Severity name 2021-03-17 09:38:51,594 ERROR client.RTCClient: Please specify a valid Severity name 2021-03-17 09:38:51,594 DEBUG client.RTCClient: Try to get 2021-03-17 09:38:51,594 DEBUG client.RTCClient: Check the validity of the ProjectArea id: _CFggASER45RFVerfksiwkm 2021-03-17 09:38:51,594 DEBUG client.RTCClient: Start to fetch all ProjectAreas with [ProjectArea ID: not specified] and [archived=False] 2021-03-17 09:38:51,595 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_startIndex=0 2021-03-17 09:38:51,595 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:52,150 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_startIndex=0 HTTP/1.1" 200 7024

2021-03-17 09:38:52,152 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=10 2021-03-17 09:38:52,154 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:52,663 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=10 HTTP/1.1" 200 7457 2021-03-17 09:38:52,667 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=20 2021-03-17 09:38:52,668 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:53,209 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=20 HTTP/1.1" 200 7361 2021-03-17 09:38:53,212 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=30 2021-03-17 09:38:53,212 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:53,737 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=30 HTTP/1.1" 200 7413 2021-03-17 09:38:53,741 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=40 2021-03-17 09:38:53,742 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:54,301 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=40 HTTP/1.1" 200 8498 2021-03-17 09:38:54,303 DEBUG project_area.ProjectArea: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:members 2021-03-17 09:38:54,304 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:55,150 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:members HTTP/1.1" 200 None 2021-03-17 09:38:55,974 DEBUG project_area.ProjectArea: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:administrators 2021-03-17 09:38:55,975 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:56,534 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm/rtc_cm:administrators HTTP/1.1" 200 5048 2021-03-17 09:38:56,536 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=50 2021-03-17 09:38:56,537 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:57,048 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=50 HTTP/1.1" 200 7444 2021-03-17 09:38:57,052 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=60 2021-03-17 09:38:57,052 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:57,583 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=60 HTTP/1.1" 200 6923 2021-03-17 09:38:57,585 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=70 2021-03-17 09:38:57,585 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:58,129 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=70 HTTP/1.1" 200 2984 2021-03-17 09:38:58,130 DEBUG client.RTCClient: Successfully fetching all the paged resources 2021-03-17 09:38:58,131 INFO client.RTCClient: Find whose id is: _CFggASER45RFVerfksiwkm 2021-03-17 09:38:58,131 DEBUG client.RTCClient: Start to fetch all Prioritys with [ProjectArea ID: _CFggASER45RFVerfksiwkm] and [archived=False] 2021-03-17 09:38:58,131 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/enumerations/_CFggASER45RFVerfksiwkm/priority?oslc_cm.pageSize=10&_startIndex=0 2021-03-17 09:38:58,132 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:58,628 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/enumerations/_CFggASER45RFVerfksiwkm/priority?oslc_cm.pageSize=10&_startIndex=0 HTTP/1.1" 200 3059 2021-03-17 09:38:58,631 DEBUG client.RTCClient: Successfully fetching all the paged resources 2021-03-17 09:38:58,631 INFO client.RTCClient: Find 2021-03-17 09:38:58,631 ERROR client.RTCClient: 'RTCClient' object has no attribute 'getFiledagainst' 2021-03-17 09:38:58,631 INFO template.Templater: Fetch the template from <Workitem 1234567> with [keep]=True 2021-03-17 09:38:58,631 DEBUG template.Templater: Get response from https://jazz/ccm/oslc/workitems/1234567 2021-03-17 09:38:58,632 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:59,129 DEBUG urllib3.connectionpool: https://jazz:443 "GET /ccm/oslc/workitems/1234567 HTTP/1.1" 200 18688

2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.apt.attribute.constraintdate] from the template 2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.apt.attribute.constrainttype] from the template 2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.attribute.descriptionWiki] from the template 2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [calm:affectsExecutionResult] from the template 2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [calm:blocksTestExecutionRecord] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:testedByTestCase] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:implementsRequirement] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:tracksChanges] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:relatedTestCase] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:relatedTestScript] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:relatedExecutionRecord] from the template 2021-03-17 09:38:59,296 DEBUG template.Templater: Successfully remove field [calm:relatedTestPlan] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [calm:tracksRequirement] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [calm:relatedRequirement] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [calm:elaboratedByArchitectureElement] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [calm:affectsPlanItem] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [calm:affectedByDefect] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotionDefinition.promotionDefinition] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotedBuildMaps.promotedBuildMaps] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.resolvesworkitem.resolves] from the template 2021-03-17 09:38:59,297 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.packaging.linktype.resultWorkItem.promoted] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.package.linktype.packageDefinition.packageDefinition] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedWorkItems.com.ibm.team.build.common.link.includedInBuilds] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotionBuildResult.promotionBuildResult] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copiedFrom] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicateOf] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.extractedWorkItem.com.ibm.team.filesystem.reviews.linktype.codereview.extractedFromWorkItem] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedPackages.com.ibm.team.build.common.link.includedInPackages] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.relatedartifact.relatedArtifact] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.packaging.linktype.resultWorkItem.result] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.scm.common.linkType.tracksUcmObject.t] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.deployment.linktype.deploymentBuildResult.packageBuildResult] from the template 2021-03-17 09:38:59,298 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.ccbridge.common.ver2wi.s] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.includedDeployments.com.ibm.team.build.common.link.includedInDeployment] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.schedulePredecessor.successor] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.extractedWorkItem.com.ibm.team.filesystem.reviews.link.codereview.extractedWorkItem] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.attachment.attachment] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitCommit.gitcommit] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.filesystem.reviews.linktype.codereview.com.ibm.team.filesystem.reviews.link.codereview] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.resolvesworkitem.resolvedBy] from the template 2021-03-17 09:38:59,299 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.scm.common.linkType.importerDependency.t] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitMergeRequest.gitMergeRequest] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.failedChangeSets.failedChangeSets] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.blocks] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.blocksworkitem.dependsOn] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.connector.ccbridge.common.act2wi.s] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.package.linktype.packageBuildResult.packageBuildResult] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.promotedChangeSets.promotedChangeSets] from the template 2021-03-17 09:38:59,300 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.notPromotedChangeSets.notPromotedChangeSets] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.textualReference.textuallyReferenced] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.duplicateworkitem.duplicates] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.schedulePredecessor.predecessor] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.gapChangeSets.gapChangeSets] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.git.workitem.linktype.gitIssue.gitIssue] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.scm.svn.linkType.workItem.s] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.deployment.linktype.deploymentDefinition.packageDefinition] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.promoted] from the template 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [@rdf:about] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [dc:created] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [dc:creator] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,301 DEBUG template.Templater: Successfully remove field [dc:identifier] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:contextId] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:comments] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:state] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [dc:type] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:subscribers] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [dc:modified] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:modifiedBy] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:resolved] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:resolvedBy] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:resolution] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:startDate] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:timeSpent] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:progressTracking] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,302 DEBUG template.Templater: Successfully remove field [rtc_cm:projectArea] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,310 DEBUG template.Templater: Successfully remove field [oslc_cm:relatedChangeManagement] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,311 DEBUG template.Templater: Successfully remove field [oslc_cm:trackedWorkItem] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,311 DEBUG template.Templater: Successfully remove field [oslc_cm:tracksWorkItem] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,311 DEBUG template.Templater: Successfully remove field [rtc_cm:timeSheet] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,311 DEBUG template.Templater: Successfully remove field [oslc_pl:schedule] from the template originated from <Workitem 1234567> 2021-03-17 09:38:59,313 INFO client.RTCClient: Start to create a new with raw data: <?xml version="1.0" encoding="UTF-8"?>

2021-03-17 09:38:59,314 DEBUG client.RTCClient: Post a request to https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 with data: <?xml version="1.0" encoding="UTF-8"?>

2021-03-17 09:38:59,315 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 2021-03-17 09:38:59,812 DEBUG urllib3.connectionpool: https://jazz:443 "POST /ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 HTTP/1.1" 409 216 2021-03-17 09:38:59,813 ERROR client.RTCClient: Failed POST request at https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 with response: b'<?xml version="1.0" encoding="UTF-8"?>\r\n409</oslc_cm:status>\r\nIllegal value: </oslc_cm:message>\r\n</oslc_cm:error>' 2021-03-17 09:38:59,814 INFO client.RTCClient: 409 Traceback (most recent call last): File "RtcInterface.py", line 59, in RtcInf_obj.createWorkItem() File "RtcInterface.py", line 44, in createWorkItem new_workitem = self.myclient.createWorkitem(ItemType,Title,projectarea_name='Navigation',copied_from = "1234567", keep=True,*TicketInfo) File "rtcclient\client.py", line 1073, in createWorkitem return self._createWorkitem(wi_url_post, wi_raw) File "rtcclient\client.py", line 1123, in _createWorkitem data=workitem_raw) File "rtcclient\utils.py", line 26, in wrapper resp = func(args, **kwargs) File "rtcclient\base.py", line 123, in post response.raise_for_status() File "C:\Program Files\Anaconda3\lib\site-packages\requests\models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0

dixudx commented 3 years ago

2021-03-17 09:38:59,813 ERROR client.RTCClient: Failed POST request at https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 with response: b'\r\n409</oslc_cm:status>\r\nIllegal value: </oslc_cm:message>\r\n</oslc_cm:error>'

From above error, it seems some fields had been set illegally.

@MohebaIbu You can try to set keep=True when creating, as #90 suggested.

MohebaIbu commented 3 years ago

@dixudx
I have set it to True only as you can see in the log new_workitem = self.myclient.createWorkitem(ItemType,Title,projectarea_name='Navigation',copied_from = "1234567", keep=True,**TicketInfo)

MohebaIbu commented 3 years ago

@dixudx Any solution ?

dixudx commented 3 years ago

I have set it to True only as you can see in the log

2021-03-17 09:38:59,813 ERROR client.RTCClient: Failed POST request at https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 with response: b'\r\n409</oslc_cm:status>\r\nIllegal value: </oslc_cm:message>\r\n</oslc_cm:error>'

TicketInfo = { "teamArea": "Automation", "ownedBy": "user1", "plannedFor": "", "severity": "", "priority": "Unassigned", "filedAgainst": "Automation" }

@MohebaIbu From the message hint here, I suspect that you've set illegal value in your TicketInfo. Please try to remove field plannedFor and severity (which have empty value) from the dict and have another try, since we've set keep=True.