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

Expand All in Relationship View of Query in Integrity?

$
0
0

relationship view of query.GIF

 

Does anyone know how to "Expand All / Collapse All" in a Relationship View of a query?  Relationship View is very cool... but who wants to click each and every item and related item to display all data?! 


Is there a CLI command that checks whether a member is merged to a given branch ?

$
0
0

would like to write a powershell script. If I give it a target branch, it should tell me if any members are not merged to that branch.  Is this possible ?

How to get complete history of the issue using mks api??

$
0
0

How to get the Jar files for

https://change.unigroupinc.com/documentation/javadocs/triggers/index.html

 

How can we get the complete history with all modifications done in a particular field for a particular issue using java api of MKS ?

Command issuehistory = new Command(Command.IM, "viewissue");

  issuehistory.addSelection(actIssue);

  issuehistory.addOption(new Option("showHistory"));

Response response = cmdRunner.execute(issuehistory);

Iterator f = response.getWorkItem(actIssue).getFields();

  WorkItem i = response.getWorkItem(actIssue);

  while ((f).hasNext())

  {

  Field temp = (Field) f.next();

  System.out.println(temp.getDisplayName()+":"+temp.getValueAsString());

 

  }

  System.out.println(i.getField("MKSIssueHistory").getDisplayName()+":"+i.getField("MKSIssueHistory").getValueAsString());

MKSIssueHistory:17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0

But i cannot get the whole history i.e who modified the issue on what date what all fields were changed from this response ???

Does anybody have any idea how to do it ???

Rename development path

$
0
0

Hello,

is it possible to rename a development path?

 

Thanks

Is it possible to automate Integrity web client?

$
0
0

Hi all,

 

I have automated some MKS functionalities using the CLI option im.exe. I would like to ask if it is also possible to automate the web client and how?

 

Thanks,

Possible ways to export Integrity report contents to excel

$
0
0

Is there a way to export reports in Integrity, Just copying the report seems to work for some of the reports which use normal recipes. But when we use relationship recipes a simple copy of report may lead to incorrect structure. Is integration of Excel with Integrity is the only option?. Please let me know if there are any other alternatives?.

Is there a CLI command that checks whether a member is merged to a given branch ?

$
0
0

would like to write a powershell script. If I give it a target branch, it should tell me if any members are not merged to that branch.  Is this possible ?

ReqIf Parser PTC Requirement Connector 3.0

$
0
0

I am recently using the PTC Requirement Connector 3.0 and I'm facing some problems when trying to import ReqIf documents. I have a parser problem for each document containing more than one SPEC-OBJECT-TYPE. What can I do in order to be able to import one this document type ?


Searching for TortoiseSVN similar functions

$
0
0

Hey,

I am new to PTC and needed to work with PTC since 2 month.

I have 2 years of experience with TortoiseSVN and now i have to get in the new PTC Environment.

 

I wonder where the very simple basic functions which TortoiseSVN comes up with are in PTC.

 

In TortoiseSVN i can simply see in the WindowsExplorer in which Folder is a Change in a file.Tortoisesvnstate1.jpg

I can right click the Folder in the Explorer and will get instantly the Option to see all differences in the Folder lokally compared to the repository .

I will only see the effected Folder and below them the files. Everything else is hidden, because its not interesting.

Then i can also right click in the Explorer on a Folder and see the Log.

I will then see all changes since the Sourcecode got introduced as a new Project in SVN.

I can see each check-In, or in PTC-Language: Change-packages.

I can see a comment to the check-In and i also can see which files changed.

I also can simply see, what Revision i got and what the current Revision is.

 

Ok in PTC, first of all, i can not see it in the Windows Explorer, which is not very neatly, but ok

i gotta deal with it. Next i want to see my lokal changes. but PTC does not give me the Option or i am just to stupid.

I can filter for lokal modifactions in the sandbox-view, but it will still Show up every Folder, no matter if there is a Change in it or not.

Ok i can expand all, then the whole sandbox-Folder-structure get expanded and i can see the modified files,  ¿but i have the whole folderstructure opend ?

I only wanted a tiny overview about my lokal changes, i dont care about the folderstructure at this Point.

Pretty similar case if i have a older file-Version and want to see which files are actually newer.

 

Ok, i can deal with the pretty complicated Views which PTC is providing. I mean i have no choice

But what i really really missing is a overview about the whole Project-Source-Code-History.TortoisesvnHistory.1.jpg

In Tortoise you just right-click the Folder and then press the Button "Log" and will see the whole SourceCodeHistory.

In PTC i can only see a Single-File-History or a Project-History.

- The FileHistory is not very interessting usually. Because why would you check each file for a History.

You rather looking for a overview about all files at a specific Point.

- In the Project-History i only see the specific Time-Stamps where Lables where created. Which is useless for me.

 

UseCase: There is a Team working on a Project.

I use the Project-Result for my own work.

Sometimes the Team get a Bug in the current Project so that the resulting Tool doesn´t work.

But i was in Holidays, bevor Holidays, it worked, after it doesn´t.

But i need the Tool for my work, so i go and want to get a older Project-Version.

Now i could just get the Version bevor my Holidays. But there was maybe a necessary Change after that Moment i dont want to miss.

So i want the last working Version.

But PTC does not Show me every changes in the whole Project over the last couple weeks, so i would be able to pick it myself. Tortoise does that.

Or am i wrong? Is there a way to get a similar function?

 

 

 

TortoisesvnHistoryLog.1.jpg

 

I might just Need some Training, which i possibly won´t get, so please excuse my less knowledge about PTC

 

Any Help?

Connect API Using Windows Credentials

$
0
0

Is it possible to connect the API using Windows credentials? For example, if you are using SharePoint, you can send credentials using System.Net.CredentialCache.DefaultNetworkCredentials which sends a "security package" or something like that with your WIndows logon credentials.

Analyze License Denials

$
0
0

Previously, our organization was able to use the server logs to determine the total number of license denials over a specified period of time (i.e. month, quarter, or year).  This allowed us to provide an analysis to management in order to purchase additional floaters or seats (justification for purchasing).  I've tried to review the logs as we have them now (after upgrading to 10.6) and cannot see any of the previous messages noting user name and license denial activity.  Does anyone have any suggestions on how this can be accomplished?

 

An example of the error message noted in the log previously used for analysis is shown below:

 

2012-07-09 07:37:23,964 ERROR [mksis.IntegrityServer.License] Denied license MKSSourceIntegrity-Float version 5.0 for <UserName>

 

Through this we were able to pull both the time stamp (used to determine if someone repeatedly tried to access or waiting until the next attempt during a specified time frame), the user name to identify "who" in case we needed to purchase a seat license, and the total number of attempts/denials.  This was great and provided us a lot of usage information with very little effort.  However, I can't seem to ever get the log levels set to see this kind of information (even with DEBUG 10, ERROR 10 configured).

 

The [Licenses Denied] section of the License Usage within the administrator client shows only total number of denials within a snapshot time frame.  This does not provide me enough information to determine if a single user needs to be moved from using the floating license to a named seat.

 

Any ideas or suggestions are greatly welcome.

 

Jeff White

Scheduled trigger that sends a report or query link in an eMail

$
0
0

How can I create a scheduled trigger that sends a report or query link in an eMail at a given time?  Not an email of each item.  Simply an email with a link to a query or report that is sent via a scheduled trigger. Thank you.

Server Performance with API

$
0
0

We are having some problems with server performance when using the API. I don't know if it's due to the way I am using the API or some settings on the server or something else. We have several tablets running Windows 8.1. On each tablet, we have an app (written in C#) which downloads project data and allows us to execute our procedures offline. If only one tablet is downloading project data (and making API calls) then things seem to work fine. Once multiple apps try to download project data at the same time, everything slows down. Sometimes, one app might stop receiving downloading all together.

 

The way the app works is that I get the list of segments in a project using the code below. Then, I loop through the returned segments and make a new API call for each one to download the nodes. There doesn't seem to be any specific type of node or node content which causes things to slow down.

 

I am working adding some things into the app for the sake of debugging it to see if I can track down specifically what causes the slowdown. Has anyone seen similar issues where API calls from multiple sources leads to server slowdowns?

 

        public List<Segment> GetProjectSegments(string Project)        {            List<Segment> allSegments = new List<Segment>();            try            {                // Get all of the approved segment types from the approvedTypes array                // and convert them to a string for the query definition.                string approveString = "(field[Type]=" + approvedSegmentTypes[0] + ")";                for (var i = 1; i < approvedSegmentTypes.Length; i++)                {                    approveString += " or (field[Type]=" + approvedSegmentTypes[i] + ")";                }                // Define the query definition and the requested fields to return.                string queryDef = "((field[Project]=" + Project + ") and (item.live) and (" + approveString + "))";                string fields = "ID,Project,Type,Assigned User,Summary,State";                Command cmd = new Command("im", "issues");                cmd.AddOption("hostname", hostServer);                cmd.AddOption("port", hostPort.ToString());                cmd.AddOption("user", userName);                cmd.AddOption("password", userPassword);                cmd.AddOption("queryDefinition", queryDef);                cmd.AddOption("fields", fields);                if (!APIFactory.IsInitialized)                    APIFactory.MKSInitialize();                IIntegrationPoint ip = APIFactory.CreateIntegrationPoint(hostServer, hostPort, false, 4, 13);                ISession s = ip.CreateSession(userName, userPassword);                ICmdRunner cr = s.CreateCmdRunner();                IResponse r = cr.Execute(cmd);                foreach (WorkItem w in r.WorkItems)                {                                       int f0 = (int)w.Fields["ID"].Value;                    var fi1 = (MKS.ManagedAPI.Item)w.Fields["Project"].Value;                    string f1 = (fi1 == null ? string.Empty : fi1.Id);                    var fi2 = (MKS.ManagedAPI.Item)w.Fields["Type"].Value;                    string f2 = (fi2 == null ? string.Empty : fi2.Id);                    string f3 = w.Fields["Summary"].Value.ToString();                    var fi4 = (MKS.ManagedAPI.Item)w.Fields["State"].Value;                    string f4 = (fi4 == null ? string.Empty : fi4.Id);                    var fi5 = (MKS.ManagedAPI.Item)w.Fields["Assigned User"].Value;                    string f5 = (fi5 == null ? string.Empty : fi5.Id);                    allSegments.Add(new Segment                    {                        UId = f0,                        ProjectName = f1,                        ItemType = f2,                        Summary = f3,                        State = f4,                        AssignedUser = f5                    });                }                cr.Dispose();                s.Dispose();                ip.Dispose();            }            catch (APIException e)            {                throw e;            }            finally            {                //APIFactory.Instance.Shutdown();            }            return allSegments;        }

Help writing a computed expression in a "logical" field to evaluate trace conditions

$
0
0

How would you write a computed expression in logical field "xyz" of Requirements Type, that evaluates the traces in the Mitigates field, and returns a count of Mitigates traces that are flagged as true in the Mitigates > "Essential" field?

Implementer and SQL DDL thoughts/standards?

$
0
0

We are on the System i (aka AS/400) using Implementer. We are transitioning from defining our physical and logical files using DDS to using SQL DDL to define SQL Tables and Views. I would like to get some thoughts and opinions from other users of Implementer that are using SQL DDL as to how they structure their SQL DDL script source members within Implementer and promote them through their various environments?

 

Any input/thoughts would be greatly appreciated.


Attempt to launch MKS Integrity client Timed out.

$
0
0

Hello,

This is my first time with MKS. We are using MKS Integrity Client, most of us are using windows client. I'm on a mac and would like to setup my development environment in a VM, preferably a linux flavor. I'm currently using centos 6.5 32 bit. Installation of mksClient.bin runs fine, but anything I try, I get the following error.

 

./si gui

./si: Attempt to launch MKS Integrity Client Timed out. To solve this please try the following:

- Verify that the user you are logged in as has read and write permissions to the Integrity Client install directory.

- Make sure the Integrity Client install directory is the very first entry in the path.

 

I'm able to read/write in integrity client install directory, so that cannot be the issue. I do not know how setting up path is of any relevance when starting up the client. Could this be some kind of connection issue? I'm able to launch web version, web services, etc. at the given host/ip:port. Any pointers?

 

Best,

Srikrishna

How to create a report with all task weekly status

$
0
0

Hi all,

 

I am in need of PTC Integrity report to list the task for 30 weeks. Let me know if anyone has any idea?

 

Regards,

Shankar

Send an email when a document from Source is updated

$
0
0

Hi,

 

Is there any method to automatically generate an email or notification when a document from Source is changing?

 

Thanks in advance for the answers!

Stopping processes instead of server restart?

$
0
0

Hi,

 

I would like to know if there is a less harsh way to deal with memory issues than restarting the Integrity Server. There is way to stop the running processes instead, but I'm not sure how to perform this task. Also I would like to know what makes it less harsh than a restart, since for example the loggs on the server are starting from zero again like when doing a restart.

 

Thanks!

 

Stephan 

Has anyone successfully run Integrity PC Client in a Citrix environment

$
0
0

Has anyone successfully run Integrity PC Client in a Citrix or other VM environments?

Viewing all 3432 articles
Browse latest View live


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