Writing external applications

You can write an external application in Perl to perform tasks against a DevOps Plan application.

You can use an external application to create a query, run a saved query, create new records, and perform actions on records. For example, an external application can perform these tasks:

  • At midnight every day, run a set of queries and send the results to the managers group.
  • Each Sunday, find all defects that have been open for more than a month and raise their status setting.

An external application must begin by creating a session object and logging in to a DevOps Plan application. See Working with sessions.

The DevOps Plan application includes a version of Perl (CQPerl.exe, CQPerl.dll). When creating external applications that use Perl, use the CQPerlExt package. See Using the DevOps Plan Schema API in the DevOps Plan Schema API Reference.