Skip to main content
Feb 24, 2020 8:29 AM UTC
Question

How to use a bat file link a checkpoint to task

 

I want to use a bat file to link a checkpoint to a task "Attachment/Integration Links" part. Which command can I use?

I try to use I'm editissue --addsourcelink field=scmSourceFieldName

6 replies

Feb 24, 2020 3:28 PM UTC

Hi Wentao,

Can you confirm the product you are referring to you in your post?  Once you confirm, I can move your post to the appropriate product forum so that it is seen by the appropriate Community members who can help you with your question!

 

Thanks

Leigh

wentaoAuthor
Feb 25, 2020 4:15 AM UTC
Hi Leigh Sorry for the mistake, it's my first time to use this community yesterday. I want to ask question for integrity 11. Thanks.
Feb 25, 2020 9:35 PM UTC

Hi wentao,

 

You may want to open a Support case for this, with the Integrity(Windchill RV&S) Support team.

What is your full syntax you're using?

 

The --addSourceLink=value info is documented here:

https://support.ptc.com/cs/help/integrity_hc/integrity112_hc/en/#page/IntegrityHelp%2Fim_editissue.html

 

Are you specifying any of the *revision values mentioned there?

wentaoAuthor
Feb 26, 2020 2:09 AM UTC

Hi MichaelChatel

 

The tool I used we usually call it MKS and from start menu I see it name is Integrity LM client. We use this tool to archive source code and do SW integrity.

 

@echo off
im editissue --addSourceLink=field=scmSourceFieldName,devpath=CANoon_AsiaPacific_1.2.2,Revision=1.2.2.92 4041685

Above is my script. The link you give to me I already referred, but I have problem with what value should give to field. I don't understand the "scmSoureFieldName" means. Do you have any example for "editissue". By the way, I attach a document by use "im editissue --addAttachment" successfully for the task.

Thanks.

Oct 28, 2020 8:52 PM UTC

Did this work i have same problem

im editissue --addSourceLink=field=SourceLinkage,revision=1.1,server=<sever>, port=<port>,project=//project.pj,file=<finename.pdf> issue ID


Modifying item ...
Adding source links ...
Could not save modified item 776791: MKS755129: Invalid source link field type. Expected Source Link field without trace enabled for this operation.