Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There's "cleartool" - console interface for ClearCase. How to interact with ClearQuest from console?

Example of sequense I want to be able to script:

  1. Open ClearQuest
  2. Press "New UnitOfWork" toolbar item
  3. Fill the GUI form of text fields and combo boxes.
  4. Press "OK" button

I don't want the command line interface to be too deviant from GUI.

I expect it to be something like:

clearquesttool (server,database,user,password) add --type=UnitOfWork --workload=30m --project="Some name I see in GUI" --activity="Defect fixing"
share|improve this question
up vote 2 down vote accepted

There is the ClearQuest tool cqtool which has a submit subcommand. It has the following syntax:

submit [common options] [-field name value [ value value ...] ] [-f/ield name value [ value value ... ] [-ask] [-type record_type]

So you would want to do something like this:

cqtool submit -type UnitOfWork -f workload 30m -f project "Some name I see in GUI" -f activity "Defect fixing"

Update: cqtool is available on UNIX platforms only in version 2003; in 7.1 it is available on all supported platforms - ClearQuest FAQ

share|improve this answer
Yes, we have version 2003. But coLinux should satisfy "UNIX platforms" requirement, shouldn't it? (looking for where to download it) – Vi. Feb 5 '10 at 23:34
If you can get it to install on coLinux, I would expect it to work just as it would on any other Linux. – heavyd Feb 5 '10 at 23:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.