clearquest

How to get all defects in ClearQuest by HTTP Restful API

我的梦境 提交于 2021-01-29 11:17:45
问题 This question should be easy if you are familiar with ClearQuest, unfortunately, it's an old tool and there is not much useful resources on the Internet. I only found one article helpful https://www.ibm.com/developerworks/cn/rational/r-cn-rcqoslccmrestapi/index.html Here is I've already tired, I can get all defects that the state is Resolved by this URL http://192.168.0.1/cqweb/oslc/repo/cqdb/db/SAMPL/record/?oslc_cm.query=State="Resolved"&rcm.type=Defect But there are many different states

How to find which CRs in clearcase modified given lines in source code file (like 'git blame -L' does)?

本小妞迷上赌 提交于 2019-12-23 03:58:21
问题 I have tried to find a way in clearcase , using cleartool to identify CRs - which introduced specific lines in source code for a given file. I'm looking for equivalent or very similar functionality to: git blame -L <line_num1>,<line_num2> <filename> , which is documented at git blame . Is it possible to query clearcase repository to retrieve this information ? I can grep trough all visible file branches, but this is not exactly what I'm searching for. Thanks in advance. 回答1: The main command,

ClearCase.ClearTool returns No view context available error

牧云@^-^@ 提交于 2019-12-08 13:50:37
I am trying to run the following code, but the got #error 1 at startview command, and #error 2 in desc command. use Win32::OLE; $ct = Win32::OLE->new('ClearCase.ClearTool') or die "Could not create ClearTool object\n"; $view = "ccadm01_UARK_DEV"; $output = $ct->CmdExec("pwv") or die("Cleartool returned error: ", Win32::OLE->LastError(), "\n"); print ("pwv \$output = $output\n"); # error 1 : cleartool return error 0 $output = $ct->CmdExec("startview ccadm01_UARK_DEV") or die("Cleartool returned error: ", Win32::OLE->LastError(), "\n"); $CWD = $view_dir; print( "Current directory: $CWD\n"); #

ClearCase.ClearTool returns No view context available error

非 Y 不嫁゛ 提交于 2019-12-08 04:41:01
问题 I am trying to run the following code, but the got #error 1 at startview command, and #error 2 in desc command. use Win32::OLE; $ct = Win32::OLE->new('ClearCase.ClearTool') or die "Could not create ClearTool object\n"; $view = "ccadm01_UARK_DEV"; $output = $ct->CmdExec("pwv") or die("Cleartool returned error: ", Win32::OLE->LastError(), "\n"); print ("pwv \$output = $output\n"); # error 1 : cleartool return error 0 $output = $ct->CmdExec("startview ccadm01_UARK_DEV") or die("Cleartool