It's all about the answers!

Ask a question

Uploading attachment through WCL not working for RTC v7.0.2


Debayan De (134) | asked Aug 25 '21, 12:51 a.m.
edited Aug 25 '21, 3:41 a.m. by Ralph Schoon (63.1k33645)

 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



permanent link
Ralph Schoon (63.1k33645) | answered Aug 25 '21, 3:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 25 '21, 4:07 a.m.
  1. Do not publish your passwords here.
  2. Please try without RMI 

e.g. try 

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"

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.