Skip to main content
1-Visitor
February 24, 2020
Question

How to use a bat file link a checkpoint to task

  • February 24, 2020
  • 2 replies
  • 3435 views

 

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

2 replies

5-Regular Member
February 24, 2020

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

wentao1-VisitorAuthor
1-Visitor
February 25, 2020
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.
5-Regular Member
February 25, 2020

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?

wentao1-VisitorAuthor
1-Visitor
February 26, 2020

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.

1-Visitor
October 28, 2020

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.