Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 ?

0 votes



One answer

Permanent link
  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"

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Aug 25 '21, 12:51 a.m.

Question was seen: 1,153 times

Last updated: Aug 25 '21, 4:07 a.m.

Confirmation Cancel Confirm