MKS完整性: open item from command line

标签 mks mks-integrity

我想使用项目编号从命令行打开 MKS 中的项目:

command 123456

并直接进入 GUI 项目 View 。我一直在谷歌上搜索 API 示例,但还没有找到任何有用的东西。在扩展中,我将使用它从我的文本编辑器创建快捷方式。

希望这是可能的,有什么想法吗?

最佳答案

im viewissue 是“查看项目”的 cli 命令。 在你的情况下,命令应该是这样的:

im viewissue --hostname=%mks_host% --port=%mks_im_port% --user=%mks_user% --gui %item_id%

其中 %mks_host%%mks_im_port%%mks_user%%item_id% 应替换具有正确的值。

im viewissue命令用法

Usage: im viewissue options... item id...; options are:
    --asOf=[<date>|label:<label>]  View the item(s) as of a historical date or label
    --height=value  The height in pixels of the windows
    --[no]showAnnotations  Display annotations
    --[no]showAttachmentDetails  Display all attachment attributes
    --[no]showAttachments  Display attachments
    --[no]showBranches  Display branches
    --[no]showChangePackages  Display change packages
    --[no]showDecorators  Display "!" for ambiguous field values
    --[no]showHistory  Display history
    --[no]showHistoryAscending  Display history in chronological order
    --[no]showHistoryWithComputedField  Display history with computed fields
    --[no]showHistoryWithIndirectEdits  Display history with indirect edits (CLI/API only)
    --[no]showLabels  Display labels
    --[no]showLock  Display lock information
    --[no]showRelationships  Display relationships
    --[no]showRichContent  Display rich text field data as rich content
    --[no]showSourceLinkDetails  Display all source link and source trace attributes
    --[no]showSourceTraceDetails  Display all source link and source trace attributes
    --[no]showTestResults  Display test results
    --[no]showTimeEntries  Display time entries
    --[no]showWorkflow  Display workflow
    --[no]showXHTML  Display rich text field data as XHTML
    --[no]substituteParams  Substitute parameters
    --width=value  The width in pixels of the windows
    -x value  The x location in pixels of the window
    -y value  The y location in pixels of the window
    -?  Shows the usage for a command
    --[no]batch  Control batch mode (no user interaction in batch mode)
    --cwd=value  Act as if command executed in specified directory
    -F value  Read the selection from a specified file
    --forceConfirm=[yes|no]  Specify an answer to all confirmation questions
    -g  User interaction should happen via the GUI
    --gui  User interaction should happen via the GUI
    --hostname=value  Hostname of server
    -N  Responds to all confirmations with "no"
    --no  Responds to all confirmations with "no"
    --password=value  Credentials (e.g., password) to login with
    --port=value  TCP/IP port number of server
    --quiet  Control status display
    --selectionFile=value  Read the selection from a specified file
    --settingsUI=[gui|default]  Control UI for command options
    --status=[none|gui|default]  Control status display
    --usage  Shows the usage for a command
    --user=value  Username to login to server with
    -Y  Responds to all confirmations with "yes"
    --yes  Responds to all confirmations with "yes"

关于MKS完整性: open item from command line,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33152833/

相关文章:

Java mks api 崩溃

windows - 外壳问题 : alias doesn't expand

java - MKS124814 : Cannot show view information: View is unsupported in the Integration API

mks - 相关开发路径被删除后,如何在MKS中删除变体沙箱

python - 标准Django/python单位转换包

scripting - 哪个脚本更适合 PTC Integrity 应用程序的自动化

java - mks-integrity xmlapi 的不同输出