Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all 3432 articles
Browse latest View live

List Change Packages of multiple items within another item

$
0
0

Dear Community,

 

we would like to achieve the following.

 

We have an Item called 'Realisation Order'. Related to this (forward) we have an Item called 'Implementation Task', this one can carry ChangePackages.

We would like to show a list of all Change Packages (and Change Package entries) within the parent item. (Realisation Order).

 

When trying this via a Query I can of course list all Tasks that have a Change Package (genericcp.si.exists).

 

But I have no option to list the Changepackages and their IDs. Furthermore I cannot list the entries.

 

I know how to create such an overview by using a report, but we would like to integrate this into the Item View.

 

So basically there is 2 questions:

Is there a possibility to list the ChangePackages within the 'parent item'?

Is there any possibility to integrate a report into an Item Presentation Template?

 

I am of course open for different approaches. Maybe it helps to understand our motivation. We want to allow our Integrator to have a convenient overview about all the relevant ChangePackages he needs to build the Software.

 

 

Thanks for you help in advance.

 

Best Regards,

Chris

 

 

PS: I was also thinking about computation a field to get the required information, but I couldn't really find a starting point for this.


changing the default settings

$
0
0

Is there any way to redirect the creation of IntegrityClient.rc file to create in another UNIX location instead of UNIX home directory, By default the file is creating in the user's home directory. We needs to setup the client so that the file IntegrityClient.rc can create in /var/tmp

Remove span tags in rich content

$
0
0

How do you remove unwanted span tags from rich content? Somehow tags were added which is defining the text as black and this is causing issues elsewhere. Normally the font color isn't defined.

What is the simplest way to compute for numbers of days between states ?

$
0
0

I am looking for a way to compute for number of days between states in a workflow.  What would be the simplest option to take.  Also, it would be best if the resulting table can be downloaded to an excel spreadsheet so I can manipulate the data in various ways.

 

The object is to determine how long a specific state took to complete.

 

Hoping to get an answer soon.

 

PS.  I am not a developer or technical person.  I am more into project management.  But if this requires a specific technical approach I can have my developer look at it and try it out.

Is there a way of creating the Item Type "Tag" in PTC Integrity using CLI?

$
0
0

Is there a way of creating the Item Type "Tag" in PTC Integrity using CLI?

creating story via API

$
0
0

I am creating a story via the API

im createissue --user=nshaikh --port=7001 --hostname=integrity.ptc.com --type=Story --addRelationships=Epic:168598 --field=Description=This backlog to develop 3rd Party Adapters Automation. --field=Current Estimate=16 --field=Scrum Team=3rd Party Adapters WPD --field=QA Required=false --field=Story Type=Story --field=Acceptance Criteria=Planned automation work completed. --field=Primary Segment=PLM --field=Summary=[Auto] 3PWGM - Adapters Automation - 1508 --field=Assigned Users=nshaikh --field=Product Owners=youkim --field=Pubs Required=false --

 

this returns with error

Failed with exception: Could not save item: MKS124066: Field "Epic" does not exist.

com.mks.api.response.impl.XMLResponseImpl@1188e820

 

This was working before Integrity migrated to new version

what is the fix for this

I have to migrate from clearacase to MKS ( PTC ) with full revision history , could anyon eguide me about this ?

$
0
0

I have to migrate from clearcase to MKS ( PTC ) with full revision history , could anyone guide me about this ?

Getting results from CLI command inside a script

$
0
0

Hi,

 

i want to get the email address from a user inside a trigger script using the Integrity API. I've used mksapiviewer --iplocal im users --fields=email USERNAME to check if there is an output at all and it returned a response including a work item containing the field "Value" where the address is stored. I've tried

 

var eb = bsf.lookupBean("siEnvironmentBean");

var apibean = eb.createAPISessionBean();

 

var command = new Packages.com.mks.api.Command("im", "users");

command.addOption(new Packages.com.mks.api.Option("fields", "email");

command.addSelection(USERNAME);

 

var response = apibean.executeCmd(command);

var workitems = response.getWorkItems();

 

while(workitems.hasNext()){

 

   var thisItem = workitems.next();

   var val = thisItem.getField("Value");

 

}

 

Somewhere has to be a mistake since i get a NoSuchElementException: Value

 

Does somebody have an idea where the problem is??

 

Thanks!


Is there example trigger-script for processing Test Results?

$
0
0

I have the trigger and script in place and working, I don't how to get the bean, however. The normal delta-bean doesn't seem to work for Test Results.


This is to write a script that looks at the Verdict and verifies that some various other fields are properly filled out.


The 2 folks that I normally go to for questions like this are both on vacation.
.

Kind regards,

-Sean

Re-label a checkpoint recursively

$
0
0

I have the situation, that release candidates of the software are checkpointed and labeled. If now a release candidate is verified and accepted as the final release, I'd like to add the release label to this checkpoint and all its sub-projects as well, like the checkpoint command does. Unfortunately I could not figure out how to do this. The command "addprojectlabel" just works for the current location in the project tree, but does not add the label to the sub-projects contained within that folder. I tried the following command:

 

si addprojectlabel --label="LabelOfSWRelease" --projectRevision="LabelOfReleaseCandidate" --project="e:/a/path/to/a/project/within/a/PTC/project.pj" --hostname=servername.domain.com --port=1234

 

The hostname and port options are just to access a specific server and is not always required. The command does not allow '-r', like it is commonly used for recursive Integrity operations.

 

Is there another way of doing this? Any help is appreciated.

 

   Regards

       Guenter Schwarz

Getting item/member details using custom button

$
0
0

Hi Team,

I need to collect the details of a selected item.

For example - i need to export the details of a selected item/query/report to a file, may be using a custom button .

 

Is there any way to do this ?


Regards,

Arun

How to Read History in Trigger Script.

$
0
0

Hi,

 

I execute following CLI in script, which gives me response.

 

var command = new Packages.com.mks.api.Command("im", "viewissue");

   command.addOption(new Packages.com.mks.api.Option("showHistory"));

   ProjectID = 30300;

   command.addSelection(ProjectID);

  

   var response = api.executeCmd(command);

   if(response != null)

   {

     var status = response.getWorkItems().next();

     //want history here

   }

 

I don't know how to read History through it, here I want what modification was done on the project 30300 in last few days. 

 

Is there any method in API Bean instead of CLI ?

Audit inactive users

$
0
0

Is there a way to audit or automate via trigger a list of inactive users in the last 90 days?  What I mean by inactive is that the have not logged in to Integrity in 90+ days.  We are currently using MKS Integrity 2009 SP7 using the MKS Domain for security.  We will be upgrading to PTC Integrity 10 in the coming weeks.

 

I ask this because we are doing a security audit of our enterprise.  I know (correct me if I wrong, I'm not a Windows server guru) with Windows server you can set user accounts to be locked out or to expire after a given time of inactivity has passed.

 

Thanks

 

Dan

How to create a hyperlink to a query to open up on the web interface?

$
0
0

Hi,

 

I want to create a hyperlink to a query in a meeting agenda for attendees to be able to click on to see what items we are going to go through. Could anyone please help we with how I would create this hyperlink?

 

Thanks,

Sam

Traceability between PTC Integrity and Enterprise Architect

$
0
0

Hi,

 

we want to create a connection between Integrity Items from PTC and packages/ elements from Enterprise Architect. Both tools have IDs with which they can be identified clearly. In the forum I read that there are several possibilities to get data out of PTC Integrity such as using command line scripting, running reports, using gateways, web services, API or trigger scripts.

 

My question is, which of these possibilities would you suggest when you want to connect one integrity item with one or more Enterprise Architect package/s or element/ s. Is there a way using a standard feature of PTC Integrity which helps the developer to get that task done with less changes in Integrity or do you suggest a self-made program which writes in each tool the specific ID/s from the opponent's tool to help the user for example to find the suitable UML diagram in the Enterprise Architect for an already open requirement integrity item of PTC Integrity faster?

 

 

Thanking you in anticipation.

 

 

 

Regards

Dan


What is the simplest way to compute for numbers of days between states ?

$
0
0

I am looking for a way to compute for number of days between states in a workflow.  What would be the simplest option to take.  Also, it would be best if the resulting table can be downloaded to an excel spreadsheet so I can manipulate the data in various ways.

 

The object is to determine how long a specific state took to complete.

 

Hoping to get an answer soon.

 

PS.  I am not a developer or technical person.  I am more into project management.  But if this requires a specific technical approach I can have my developer look at it and try it out.

I want to open creo 2.0 part file using vb.net, get dimensions value and update new values, please help me.

$
0
0

I need your help for basic guide like

How to open creo part file

How to open model file and get Dimensions name and value

How to modify part file Dimensions value and open assembly file after part file modification.

 

Please help me

 

I am waiting for your reply...

 

If you have some guide help files(pdf, doc, ppt or url) please send me

 

This is my emailid : balajis@dsmsoft.com

 

Tnks

Balaji

???

$
0
0

Can some body help me.....when i start creo parametric 2 on my pc it gives some warning message and than closed down when i click ok what should i do...???Untitled.jpg

How to kill a trigger script?

$
0
0

Hi,

 

I was wondering how to abort a trigger script that runs forever due to a infinite loop without restarting the server. I tried to get an overview of all processes using PuTTY and the ps command, but the process doesn't seem to be listed there. The Admin Guide doesn't seem to address that problem...

 

Anyone an idea??

 

Thanks!

Check in code for mks integrity using java api

$
0
0

Hi,

 

We need to develop check in option to connect to integrity using java API in our project.

What are the options I need to pass for check in?

 

Here is my code for options:

Command cmd = new Command(Command.SI,"ci");

cmd.addOption(new Option("sandbox",""));

cmd.addOption(new Option("cwd",""));

cmd.addSelection("");

 

 

I am getting the following error when i run the code: MKS125335: Out of tree members and subprojects (not located in the project directory or a subdirectory of the project directory) are not supported.

 

With these options and selection I am unable to connect.

Could you please suggest what options do I need to pass for doing checkin? And please let me know what was the error given above.

Your help is most required. Thanks in advance.

Viewing all 3432 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>