Uploading attachment through WCL not working for RTC v7.0.2
I am trying to upload attachments to RTC v7.0.2 using WCL command line but I am getting the following error:
java.lang.IllegalArgumentException: Item id and State id must not be null CRJAZ2796E Details about the error were written to the server log file. To find this data, search the log file for this identifier: D4D19907E7AA284F5A2C7CEB057B9B865CC8DE03. at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:369) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:339) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:304)
The WCL command I am trying to execute is
-create /enableDeleteAttachment /rmiClient=//localhost:1199/WorkItemCommandLine repository="https://jazz702.in.kovair.com:9443/ccm" user="kovair" password="*****" projectArea="QAProject (Change Management)" workItemType="com.ibm.team.workitem.workItemType.defect" modifiedBy="kovair" internalState="forceState:New" category="Portfolio Name (rename)/Solution 2 (rename)" description="" summary="Test20.8Bug1250 Frm Jira" @attachFile_0:add="\QA-HSBC\AllAttachments\JIRA\1D9140BD-90D4-4797-9315-9E6DECFF3FE8\ActiondetailsBZF5.png,ActiondetailsBZF5.png,text/plain,UTF-8"
This used to work till RTC v7.0 but has stopped working for v7.0.2. Can anyone help ?
One answer
- Do not publish your passwords here.
- Please try without RMI
wcl -create /enableDeleteAttachment /rmiClient=//localhost:1199/WorkItemCommandLine repository="https://jazz702.in.kovair.com:9443/ccm" user="kovair" password="***************" projectArea="QAProject (Change Management)" workItemType="com.ibm.team.workitem.workItemType.defect" modifiedBy="kovair" internalState="forceState:New" category="Portfolio Name (rename)/Solution 2 (rename)" description="" summary="Test20.8Bug1250 Frm Jira" @attachFile_0:add="\QA-HSBC\AllAttachments\JIRA\1D9140BD-90D4-4797-9315-9E6DECFF3FE8\ActiondetailsBZF5.png,ActiondetailsBZF5.png,text/plain,UTF-8"