Loading...
Loading...
Compare original and translation side by side
mcportermcporter call linear.<tool>list_issuesmcportermcporter call linear.<tool>list_issuesassigneequeryjqgit config user.emailjqmcporter call linear.list_issues limit:250 --output json | jq -r --arg email "$(git config user.email)" '
.issues | map(select(.assignee == $email)) |
(map(select(.status != "Done"))) as $open |
(map(select(.status == "Done")) | sort_by(.completedAt) | reverse) as $done |
($open[] | " \(.identifier): \(.title) [\(.status // "Unknown")]"),
(if ($done | length) > 0 then "\n--- Done ---" else empty end),
($done[:5][] | " \(.identifier): \(.title)"),
(if ($done | length) > 5 then " + \(($done | length) - 5) more completed issues" else empty end),
"\nTotal: \($open | length) open, \($done | length) done"
'assigneequeryjqgit config user.emailjqmcporter call linear.list_issues limit:250 --output json | jq -r --arg email "$(git config user.email)" '
.issues | map(select(.assignee == $email)) |
(map(select(.status != "Done"))) as $open |
(map(select(.status == "Done")) | sort_by(.completedAt) | reverse) as $done |
($open[] | " \(.identifier): \(.title) [\(.status // "Unknown")]"),
(if ($done | length) > 0 then "\n--- Done ---" else empty end),
($done[:5][] | " \(.identifier): \(.title)"),
(if ($done | length) > 5 then " + \(($done | length) - 5) more completed issues" else empty end),
"\nTotal: \($open | length) open, \($done | length) done"
'mcporter call linear.get_issue id=B-1234mcporter call linear.get_issue id=B-1234mcporter call linear.list_issues state="In Progress" limit:50mcporter call linear.list_issues state="In Progress" limit:50mcporter call linear.list_issues team=Product limit:50mcporter call linear.list_issues team=Product limit:50mcporter call linear.create_issue title="Bug title" team=Product project="Project Name" description="Description here"teamProductprojectmcporter call linear.list_projectsdescriptionpriority3assigneestatelabelsdueDatemcporter call linear.create_issue title="Bug title" team=Product project="Project Name" description="Description here"teamProductprojectmcporter call linear.list_projectsdescriptionpriority3assigneestatelabelsdueDatemcporter call linear.update_issue id=ISSUE_ID state="Done"idget_issuelist_issuesmcporter call linear.update_issue id=ISSUE_ID state="Done"idget_issuelist_issues| Action | Command |
|---|---|
| List teams | |
| Get team details | |
| List projects | |
| Get project | |
| List users | |
| Get current user | |
| List issue statuses | |
| Add comment | |
| 操作 | 命令 |
|---|---|
| 列出团队 | |
| 获取团队详情 | |
| 列出项目 | |
| 获取项目 | |
| 列出用户 | |
| 获取当前用户 | |
| 列出问题状态 | |
| 添加评论 | |
completedAtcompletedAtquerylist_issuesassigneejqupdate_issueidB-1234jq--output jsonlist_issuesqueryassigneejqupdate_issueidB-1234jq--output json