@b3os/cli 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/README.md +87 -7
  2. package/assets/b3os-run.py +137 -0
  3. package/assets/skill/b3os/SKILL.md +111 -0
  4. package/dist/commands/_agents.d.ts +14 -0
  5. package/dist/commands/_agents.js +33 -0
  6. package/dist/commands/_agents.js.map +1 -0
  7. package/dist/commands/_common.js +6 -2
  8. package/dist/commands/_common.js.map +1 -1
  9. package/dist/commands/_context.d.ts +49 -0
  10. package/dist/commands/_context.js +260 -0
  11. package/dist/commands/_context.js.map +1 -0
  12. package/dist/commands/_next.d.ts +39 -0
  13. package/dist/commands/_next.js +77 -0
  14. package/dist/commands/_next.js.map +1 -0
  15. package/dist/commands/agent.d.ts +42 -0
  16. package/dist/commands/agent.js +218 -0
  17. package/dist/commands/agent.js.map +1 -0
  18. package/dist/commands/app.d.ts +2 -0
  19. package/dist/commands/app.js +559 -54
  20. package/dist/commands/app.js.map +1 -1
  21. package/dist/commands/auth.d.ts +88 -2
  22. package/dist/commands/auth.js +354 -44
  23. package/dist/commands/auth.js.map +1 -1
  24. package/dist/commands/docs.d.ts +54 -0
  25. package/dist/commands/docs.js +202 -0
  26. package/dist/commands/docs.js.map +1 -0
  27. package/dist/commands/doctor.d.ts +23 -0
  28. package/dist/commands/doctor.js +313 -0
  29. package/dist/commands/doctor.js.map +1 -0
  30. package/dist/commands/init.d.ts +38 -1
  31. package/dist/commands/init.js +259 -60
  32. package/dist/commands/init.js.map +1 -1
  33. package/dist/commands/listen.d.ts +30 -0
  34. package/dist/commands/listen.js +194 -0
  35. package/dist/commands/listen.js.map +1 -0
  36. package/dist/commands/manifest.d.ts +13 -1
  37. package/dist/commands/manifest.js +81 -18
  38. package/dist/commands/manifest.js.map +1 -1
  39. package/dist/commands/mcp.d.ts +25 -2
  40. package/dist/commands/mcp.js +120 -11
  41. package/dist/commands/mcp.js.map +1 -1
  42. package/dist/commands/sandbox.d.ts +35 -6
  43. package/dist/commands/sandbox.js +208 -9
  44. package/dist/commands/sandbox.js.map +1 -1
  45. package/dist/commands/setup.d.ts +39 -0
  46. package/dist/commands/setup.js +203 -0
  47. package/dist/commands/setup.js.map +1 -0
  48. package/dist/commands/tool.d.ts +154 -0
  49. package/dist/commands/tool.js +785 -0
  50. package/dist/commands/tool.js.map +1 -0
  51. package/dist/config.d.ts +30 -6
  52. package/dist/config.js +39 -8
  53. package/dist/config.js.map +1 -1
  54. package/dist/ctx.d.ts +5 -45
  55. package/dist/ctx.js +25 -160
  56. package/dist/ctx.js.map +1 -1
  57. package/dist/docs/index.json +1 -0
  58. package/dist/docs/pages/actions/call.md +300 -0
  59. package/dist/docs/pages/actions/catalog/airtable.md +737 -0
  60. package/dist/docs/pages/actions/catalog/arxiv.md +166 -0
  61. package/dist/docs/pages/actions/catalog/chainalysis-sanctions.md +125 -0
  62. package/dist/docs/pages/actions/catalog/coingecko.md +1558 -0
  63. package/dist/docs/pages/actions/catalog/deps-dev.md +465 -0
  64. package/dist/docs/pages/actions/catalog/dexscreener.md +568 -0
  65. package/dist/docs/pages/actions/catalog/discord.md +784 -0
  66. package/dist/docs/pages/actions/catalog/finnhub.md +776 -0
  67. package/dist/docs/pages/actions/catalog/frankfurter.md +438 -0
  68. package/dist/docs/pages/actions/catalog/github.md +1853 -0
  69. package/dist/docs/pages/actions/catalog/gmail.md +575 -0
  70. package/dist/docs/pages/actions/catalog/google-calendar.md +654 -0
  71. package/dist/docs/pages/actions/catalog/google-drive.md +502 -0
  72. package/dist/docs/pages/actions/catalog/google-sheets.md +700 -0
  73. package/dist/docs/pages/actions/catalog/hacker-news.md +542 -0
  74. package/dist/docs/pages/actions/catalog/http.md +824 -0
  75. package/dist/docs/pages/actions/catalog/hyperliquid.md +942 -0
  76. package/dist/docs/pages/actions/catalog/jira.md +920 -0
  77. package/dist/docs/pages/actions/catalog/kalshi.md +917 -0
  78. package/dist/docs/pages/actions/catalog/linear.md +1030 -0
  79. package/dist/docs/pages/actions/catalog/markets.md +21 -0
  80. package/dist/docs/pages/actions/catalog/morpho.md +247 -0
  81. package/dist/docs/pages/actions/catalog/notion.md +1077 -0
  82. package/dist/docs/pages/actions/catalog/nws.md +485 -0
  83. package/dist/docs/pages/actions/catalog/open-meteo.md +559 -0
  84. package/dist/docs/pages/actions/catalog/polymarket.md +1523 -0
  85. package/dist/docs/pages/actions/catalog/pushbullet.md +220 -0
  86. package/dist/docs/pages/actions/catalog/resend.md +307 -0
  87. package/dist/docs/pages/actions/catalog/s3.md +513 -0
  88. package/dist/docs/pages/actions/catalog/sec-edgar.md +487 -0
  89. package/dist/docs/pages/actions/catalog/slack.md +2629 -0
  90. package/dist/docs/pages/actions/catalog/stripe.md +1405 -0
  91. package/dist/docs/pages/actions/catalog/wikipedia.md +379 -0
  92. package/dist/docs/pages/actions/catalog.md +46 -0
  93. package/dist/docs/pages/actions/limits.md +50 -0
  94. package/dist/docs/pages/actions/model-tools.md +225 -0
  95. package/dist/docs/pages/actions/packs.md +148 -0
  96. package/dist/docs/pages/actions/settings.md +69 -0
  97. package/dist/docs/pages/actions/tools.md +244 -0
  98. package/dist/docs/pages/actions/triggers.md +149 -0
  99. package/dist/docs/pages/actions.md +88 -0
  100. package/dist/docs/pages/compat/anthropic.md +168 -0
  101. package/dist/docs/pages/compat/e2b.md +194 -0
  102. package/dist/docs/pages/compat/firecrawl.md +138 -0
  103. package/dist/docs/pages/compat/openai.md +168 -0
  104. package/dist/docs/pages/concepts/auth.md +151 -0
  105. package/dist/docs/pages/concepts/beta.md +55 -0
  106. package/dist/docs/pages/concepts/glossary.md +71 -0
  107. package/dist/docs/pages/concepts/ids.md +98 -0
  108. package/dist/docs/pages/concepts/jobs.md +229 -0
  109. package/dist/docs/pages/concepts/latency.md +138 -0
  110. package/dist/docs/pages/concepts/limits.md +191 -0
  111. package/dist/docs/pages/concepts/stack.md +59 -0
  112. package/dist/docs/pages/concepts/timing.md +86 -0
  113. package/dist/docs/pages/concepts/usage.md +110 -0
  114. package/dist/docs/pages/design/b3os-yaml.md +370 -0
  115. package/dist/docs/pages/design/deploy-from-github.md +122 -0
  116. package/dist/docs/pages/design/observability.md +134 -0
  117. package/dist/docs/pages/errors.md +1824 -0
  118. package/dist/docs/pages/infer/chat.md +570 -0
  119. package/dist/docs/pages/infer/limits.md +55 -0
  120. package/dist/docs/pages/infer/messages.md +185 -0
  121. package/dist/docs/pages/infer/responses.md +173 -0
  122. package/dist/docs/pages/infer/settings.md +154 -0
  123. package/dist/docs/pages/infer/speech.md +323 -0
  124. package/dist/docs/pages/infer.md +154 -0
  125. package/dist/docs/pages/introduction.md +162 -0
  126. package/dist/docs/pages/platform/addresses.md +174 -0
  127. package/dist/docs/pages/platform/call-log.md +99 -0
  128. package/dist/docs/pages/platform/custom-domains.md +104 -0
  129. package/dist/docs/pages/platform/keys.md +79 -0
  130. package/dist/docs/pages/platform/limits.md +57 -0
  131. package/dist/docs/pages/platform/members.md +101 -0
  132. package/dist/docs/pages/platform/requests.md +116 -0
  133. package/dist/docs/pages/platform/settings.md +129 -0
  134. package/dist/docs/pages/platform/webhooks.md +68 -0
  135. package/dist/docs/pages/platform.md +67 -0
  136. package/dist/docs/pages/quickstart/mcp.md +94 -0
  137. package/dist/docs/pages/quickstart/sandbox-agent.md +205 -0
  138. package/dist/docs/pages/quickstart/scrape.md +134 -0
  139. package/dist/docs/pages/quickstart.md +45 -0
  140. package/dist/docs/pages/render/inspections.md +162 -0
  141. package/dist/docs/pages/render/limits.md +72 -0
  142. package/dist/docs/pages/render/screenshots.md +179 -0
  143. package/dist/docs/pages/render/settings.md +431 -0
  144. package/dist/docs/pages/render/styles.md +342 -0
  145. package/dist/docs/pages/render/videos.md +272 -0
  146. package/dist/docs/pages/render.md +118 -0
  147. package/dist/docs/pages/routines/callables.md +174 -0
  148. package/dist/docs/pages/routines/definitions.md +361 -0
  149. package/dist/docs/pages/routines/limits.md +117 -0
  150. package/dist/docs/pages/routines/runs.md +328 -0
  151. package/dist/docs/pages/routines/settings.md +104 -0
  152. package/dist/docs/pages/routines/triggers.md +339 -0
  153. package/dist/docs/pages/routines.md +216 -0
  154. package/dist/docs/pages/sandboxes/agents.md +217 -0
  155. package/dist/docs/pages/sandboxes/commands.md +272 -0
  156. package/dist/docs/pages/sandboxes/images.md +166 -0
  157. package/dist/docs/pages/sandboxes/limits.md +143 -0
  158. package/dist/docs/pages/sandboxes/ports.md +260 -0
  159. package/dist/docs/pages/sandboxes/settings.md +358 -0
  160. package/dist/docs/pages/sandboxes/snapshots.md +423 -0
  161. package/dist/docs/pages/sandboxes/swarms.md +146 -0
  162. package/dist/docs/pages/sandboxes/volumes.md +131 -0
  163. package/dist/docs/pages/sandboxes.md +231 -0
  164. package/dist/docs/pages/sdks/cli.md +121 -0
  165. package/dist/docs/pages/sdks/mcp.md +169 -0
  166. package/dist/docs/pages/sdks/python.md +146 -0
  167. package/dist/docs/pages/sdks/typescript.md +202 -0
  168. package/dist/docs/pages/sdks.md +282 -0
  169. package/dist/docs/pages/settings.md +33 -0
  170. package/dist/docs/pages/vault/limits.md +46 -0
  171. package/dist/docs/pages/vault.md +133 -0
  172. package/dist/docs/pages/vision/agent-browser.md +115 -0
  173. package/dist/docs/pages/vision/crawl.md +333 -0
  174. package/dist/docs/pages/vision/extract.md +152 -0
  175. package/dist/docs/pages/vision/fetcher.md +15 -0
  176. package/dist/docs/pages/vision/limits.md +79 -0
  177. package/dist/docs/pages/vision/profiles.md +111 -0
  178. package/dist/docs/pages/vision/proxy.md +131 -0
  179. package/dist/docs/pages/vision/scrape.md +356 -0
  180. package/dist/docs/pages/vision/sessions.md +311 -0
  181. package/dist/docs/pages/vision/settings.md +656 -0
  182. package/dist/docs/pages/vision.md +175 -0
  183. package/dist/errors.d.ts +129 -0
  184. package/dist/errors.js +326 -0
  185. package/dist/errors.js.map +1 -0
  186. package/dist/main.d.ts +1 -1
  187. package/dist/main.js +26 -13
  188. package/dist/main.js.map +1 -1
  189. package/dist/manifest/apply.d.ts +4 -0
  190. package/dist/manifest/apply.js +2 -0
  191. package/dist/manifest/apply.js.map +1 -1
  192. package/dist/manifest/domains.d.ts +50 -0
  193. package/dist/manifest/domains.js +159 -0
  194. package/dist/manifest/domains.js.map +1 -0
  195. package/dist/manifest/link.d.ts +20 -0
  196. package/dist/manifest/link.js +24 -0
  197. package/dist/manifest/link.js.map +1 -0
  198. package/dist/manifest/record.d.ts +1 -1
  199. package/dist/tool/archive.d.ts +33 -0
  200. package/dist/tool/archive.js +174 -0
  201. package/dist/tool/archive.js.map +1 -0
  202. package/dist/tool/calls.d.ts +46 -0
  203. package/dist/tool/calls.js +274 -0
  204. package/dist/tool/calls.js.map +1 -0
  205. package/dist/tool/checks.d.ts +21 -0
  206. package/dist/tool/checks.js +145 -0
  207. package/dist/tool/checks.js.map +1 -0
  208. package/dist/tool/elf.d.ts +19 -0
  209. package/dist/tool/elf.js +107 -0
  210. package/dist/tool/elf.js.map +1 -0
  211. package/dist/tool/predict.d.ts +8 -0
  212. package/dist/tool/predict.js +38 -0
  213. package/dist/tool/predict.js.map +1 -0
  214. package/dist/tool/ustar.d.ts +5 -0
  215. package/dist/tool/ustar.js +220 -0
  216. package/dist/tool/ustar.js.map +1 -0
  217. package/package.json +6 -5
@@ -0,0 +1,920 @@
1
+ # Jira
2
+
3
+ > The io.b3os/jira pack: 10 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.
4
+
5
+ Source: https://docs.beta.b3os.org/actions/catalog/jira.md
6
+
7
+ <a id="jira"></a>
8
+
9
+ `io.b3os/jira` 1.0.0 · `issue-tracking`, `project-management` · MIT
10
+
11
+ Work with Jira Cloud issues using your Atlassian email and API token: search with JQL, read an issue with its rendered description and comments, create issues, comment, move issues through workflow transitions, assign them, and look up projects and users. Uses the Jira Cloud REST API v3 on your <site>.atlassian.net (not Jira Data Center).
12
+
13
+ Every call's result carries `upstream_status` and `timing`: `validate_ms`, `inject_ms`, `render_ms`, `upstream_ms`, `map_ms` and `total_ms`. `upstream` is the service's time; the others are B3OS's own ([call actions](https://docs.beta.b3os.org/actions/call)). The snippets below show no timing values, because a fixture records none.
14
+
15
+ ## Connection
16
+
17
+ `jira`, type `basic`: Jira Cloud account.
18
+
19
+ Your Atlassian account email as the username and an API token (id.atlassian.com, Security, API tokens) as the password, plus your site name: acme for acme.atlassian.net. The token acts with your Jira permissions.
20
+
21
+ How to get one: [support.atlassian.com](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
22
+
23
+ Connection params (no secret): `site`.
24
+
25
+ The credential is sent only to `*.atlassian.net`.
26
+
27
+ Store the credential once as a [vault connection](https://docs.beta.b3os.org/vault) for this pack and key, then name its id in a call's `connections`. Leave the key out and B3OS uses the project's newest connection for the pack and key without a `subject` ([connections](https://docs.beta.b3os.org/actions/call#connections)).
28
+
29
+ Hosts it reaches: `*.atlassian.net`.
30
+
31
+ ## Actions
32
+
33
+ | Action | Effect | MCP tool | Title |
34
+ |---|---|---|---|
35
+ | [`get-myself`](https://docs.beta.b3os.org/actions/catalog/jira#jira-get-myself) | read | `jira__get-myself` | Get current user |
36
+ | [`search-issues`](https://docs.beta.b3os.org/actions/catalog/jira#jira-search-issues) | read | `jira__search-issues` | Search issues (JQL) |
37
+ | [`get-issue`](https://docs.beta.b3os.org/actions/catalog/jira#jira-get-issue) | read | `jira__get-issue` | Get issue |
38
+ | [`create-issue`](https://docs.beta.b3os.org/actions/catalog/jira#jira-create-issue) | write | `jira__create-issue` | Create issue |
39
+ | [`add-comment`](https://docs.beta.b3os.org/actions/catalog/jira#jira-add-comment) | write | `jira__add-comment` | Comment on issue |
40
+ | [`get-transitions`](https://docs.beta.b3os.org/actions/catalog/jira#jira-get-transitions) | read | `jira__get-transitions` | Get transitions |
41
+ | [`transition-issue`](https://docs.beta.b3os.org/actions/catalog/jira#jira-transition-issue) | write | `jira__transition-issue` | Transition issue |
42
+ | [`assign-issue`](https://docs.beta.b3os.org/actions/catalog/jira#jira-assign-issue) | write | `jira__assign-issue` | Assign issue |
43
+ | [`find-users`](https://docs.beta.b3os.org/actions/catalog/jira#jira-find-users) | read | `jira__find-users` | Find users |
44
+ | [`list-projects`](https://docs.beta.b3os.org/actions/catalog/jira#jira-list-projects) | read | `jira__list-projects` | List projects |
45
+
46
+ <h3 id="jira-get-myself"><code>get-myself</code></h3>
47
+
48
+ **Get current user.** Who the API token belongs to: account id, display name, email and time zone. A cheap way to check the connection and site.
49
+
50
+ Ref `io.b3os/jira/get-myself@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__get-myself`
51
+
52
+ **curl**
53
+
54
+ ```bash
55
+ curl -s https://beta-api.b3os.org/v1/actions/call \
56
+ -H "Authorization: Bearer $B3OS_API_KEY" \
57
+ -H "Content-Type: application/json" \
58
+ -d '{
59
+ "ref": "io.b3os/jira/get-myself@1",
60
+ "input": {},
61
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
62
+ }'
63
+ ```
64
+ **TypeScript**
65
+
66
+ ```ts
67
+ import { B3OS } from "@b3os/sdk";
68
+
69
+ const b3os = new B3OS();
70
+ const result = await b3os.actions.call({
71
+ ref: "io.b3os/jira/get-myself@1",
72
+ input: {},
73
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
74
+ });
75
+ console.log(result.output);
76
+ ```
77
+ **Python**
78
+
79
+ ```python
80
+ from b3os import B3OS
81
+
82
+ b3os = B3OS()
83
+ result = b3os.actions.call({
84
+ "ref": "io.b3os/jira/get-myself@1",
85
+ "input": {},
86
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
87
+ })
88
+ print(result["output"])
89
+ ```
90
+ **MCP**
91
+
92
+ ```json
93
+ {
94
+ "method": "tools/call",
95
+ "params": {"name": "jira__get-myself", "arguments": {}}
96
+ }
97
+ ```
98
+
99
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__get-myself` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
100
+
101
+ Output, labeled `fixture`: Get current user (documented response shape, example values). From the bundle's `fixtures/get-myself.json`, not a live call.
102
+
103
+ ```json
104
+ {
105
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
106
+ "display_name": "Mona Example",
107
+ "email": "mona@acme.example",
108
+ "time_zone": "America/Los_Angeles"
109
+ }
110
+ ```
111
+
112
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
113
+
114
+ | `pack_error.code` | Service status | Retryable | Message |
115
+ |---|---|---|---|
116
+ | `not_found` | 404 | no | built from the service's response |
117
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
118
+ | `forbidden` | 403 | no | built from the service's response |
119
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
120
+ | `invalid_request` | 400 | no | built from the service's response |
121
+
122
+ <h3 id="jira-search-issues"><code>search-issues</code></h3>
123
+
124
+ **Search issues (JQL).** Find issues with JQL, for example project = PROJ AND status != Done ORDER BY updated DESC, or assignee = currentUser() AND sprint in openSprints(). Returns key, summary, status, type, priority, assignee, labels and dates. Page with next_page_token while is_last is false.
125
+
126
+ Ref `io.b3os/jira/search-issues@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__search-issues`
127
+
128
+ **curl**
129
+
130
+ ```bash
131
+ curl -s https://beta-api.b3os.org/v1/actions/call \
132
+ -H "Authorization: Bearer $B3OS_API_KEY" \
133
+ -H "Content-Type: application/json" \
134
+ -d '{
135
+ "ref": "io.b3os/jira/search-issues@1",
136
+ "input": {
137
+ "jql": "project = SHOP AND statusCategory != Done ORDER BY updated DESC",
138
+ "max_results": 1
139
+ },
140
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
141
+ }'
142
+ ```
143
+ **TypeScript**
144
+
145
+ ```ts
146
+ import { B3OS } from "@b3os/sdk";
147
+
148
+ const b3os = new B3OS();
149
+ const result = await b3os.actions.call({
150
+ ref: "io.b3os/jira/search-issues@1",
151
+ input: {
152
+ jql: "project = SHOP AND statusCategory != Done ORDER BY updated DESC",
153
+ max_results: 1,
154
+ },
155
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
156
+ });
157
+ console.log(result.output);
158
+ ```
159
+ **Python**
160
+
161
+ ```python
162
+ from b3os import B3OS
163
+
164
+ b3os = B3OS()
165
+ result = b3os.actions.call({
166
+ "ref": "io.b3os/jira/search-issues@1",
167
+ "input": {
168
+ "jql": "project = SHOP AND statusCategory != Done ORDER BY updated DESC",
169
+ "max_results": 1,
170
+ },
171
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
172
+ })
173
+ print(result["output"])
174
+ ```
175
+ **MCP**
176
+
177
+ ```json
178
+ {
179
+ "method": "tools/call",
180
+ "params": {
181
+ "name": "jira__search-issues",
182
+ "arguments": {
183
+ "jql": "project = SHOP AND statusCategory != Done ORDER BY updated DESC",
184
+ "max_results": 1
185
+ }
186
+ }
187
+ }
188
+ ```
189
+
190
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__search-issues` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
191
+
192
+ Output, labeled `fixture`: Search issues (JQL) (documented response shape, example values). From the bundle's `fixtures/search-issues.json`, not a live call.
193
+
194
+ ```json
195
+ {
196
+ "issues": [
197
+ {
198
+ "key": "SHOP-42",
199
+ "id": "10042",
200
+ "summary": "Cart overflows on narrow screens",
201
+ "status": "In Progress",
202
+ "status_category": "indeterminate",
203
+ "issue_type": "Bug",
204
+ "priority": "High",
205
+ "assignee": "Mona Example",
206
+ "reporter": "Hubot Example",
207
+ "labels": ["checkout"],
208
+ "created": "2026-10-24T10:11:20.000-0700",
209
+ "updated": "2026-10-25T09:02:41.000-0700",
210
+ "url": "https://acme.atlassian.net/browse/SHOP-42"
211
+ }
212
+ ],
213
+ "is_last": false,
214
+ "next_page_token": "CAEaAggD"
215
+ }
216
+ ```
217
+
218
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
219
+
220
+ | `pack_error.code` | Service status | Retryable | Message |
221
+ |---|---|---|---|
222
+ | `not_found` | 404 | no | built from the service's response |
223
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
224
+ | `forbidden` | 403 | no | built from the service's response |
225
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
226
+ | `invalid_request` | 400 | no | built from the service's response |
227
+
228
+ <h3 id="jira-get-issue"><code>get-issue</code></h3>
229
+
230
+ **Get issue.** One issue by key with summary, status, type, priority, people, labels, the description rendered as HTML, and its latest comments (rendered as HTML).
231
+
232
+ Ref `io.b3os/jira/get-issue@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__get-issue`
233
+
234
+ **curl**
235
+
236
+ ```bash
237
+ curl -s https://beta-api.b3os.org/v1/actions/call \
238
+ -H "Authorization: Bearer $B3OS_API_KEY" \
239
+ -H "Content-Type: application/json" \
240
+ -d '{
241
+ "ref": "io.b3os/jira/get-issue@1",
242
+ "input": {"key": "SHOP-42"},
243
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
244
+ }'
245
+ ```
246
+ **TypeScript**
247
+
248
+ ```ts
249
+ import { B3OS } from "@b3os/sdk";
250
+
251
+ const b3os = new B3OS();
252
+ const result = await b3os.actions.call({
253
+ ref: "io.b3os/jira/get-issue@1",
254
+ input: { key: "SHOP-42" },
255
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
256
+ });
257
+ console.log(result.output);
258
+ ```
259
+ **Python**
260
+
261
+ ```python
262
+ from b3os import B3OS
263
+
264
+ b3os = B3OS()
265
+ result = b3os.actions.call({
266
+ "ref": "io.b3os/jira/get-issue@1",
267
+ "input": {"key": "SHOP-42"},
268
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
269
+ })
270
+ print(result["output"])
271
+ ```
272
+ **MCP**
273
+
274
+ ```json
275
+ {
276
+ "method": "tools/call",
277
+ "params": {"name": "jira__get-issue", "arguments": {"key": "SHOP-42"}}
278
+ }
279
+ ```
280
+
281
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__get-issue` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
282
+
283
+ Output, labeled `fixture`: Get issue (documented response shape, example values). From the bundle's `fixtures/get-issue.json`, not a live call.
284
+
285
+ ```json
286
+ {
287
+ "key": "SHOP-42",
288
+ "id": "10042",
289
+ "summary": "Cart overflows on narrow screens",
290
+ "status": "In Progress",
291
+ "status_category": "indeterminate",
292
+ "issue_type": "Bug",
293
+ "priority": "High",
294
+ "assignee": "Mona Example",
295
+ "reporter": "Hubot Example",
296
+ "labels": ["checkout"],
297
+ "created": "2026-10-24T10:11:20.000-0700",
298
+ "updated": "2026-10-25T09:02:41.000-0700",
299
+ "url": "https://acme.atlassian.net/browse/SHOP-42",
300
+ "description_html": "<p>Steps: open the cart and resize to 375px.</p>",
301
+ "comments": [
302
+ {
303
+ "author": "Hubot Example",
304
+ "body_html": "<p>Reproduced on Safari 18.</p>",
305
+ "created": "25/Oct/26 10:00 AM"
306
+ }
307
+ ]
308
+ }
309
+ ```
310
+
311
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
312
+
313
+ | `pack_error.code` | Service status | Retryable | Message |
314
+ |---|---|---|---|
315
+ | `not_found` | 404 | no | built from the service's response |
316
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
317
+ | `forbidden` | 403 | no | built from the service's response |
318
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
319
+ | `invalid_request` | 400 | no | built from the service's response |
320
+
321
+ <h3 id="jira-create-issue"><code>create-issue</code></h3>
322
+
323
+ **Create issue.** Create an issue in a project with a summary, an issue type (Task, Bug, Story, ... as named in the project), an optional plain-text description, labels and assignee. Returns the new key and URL. Not idempotent.
324
+
325
+ Ref `io.b3os/jira/create-issue@1.0.0` · effect `write` · connection `jira` · MCP tool `jira__create-issue`
326
+
327
+ **curl**
328
+
329
+ ```bash
330
+ curl -s https://beta-api.b3os.org/v1/actions/call \
331
+ -H "Authorization: Bearer $B3OS_API_KEY" \
332
+ -H "Idempotency-Key: 7c1e2f6a-1d43-4a8e-b2a5-3f0c9d5e8b11" \
333
+ -H "Content-Type: application/json" \
334
+ -d '{
335
+ "ref": "io.b3os/jira/create-issue@1",
336
+ "input": {
337
+ "project_key": "SHOP",
338
+ "summary": "Flaky checkout test",
339
+ "issue_type": "Bug",
340
+ "description": "Seen three times this week.",
341
+ "labels": ["ci"]
342
+ },
343
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
344
+ }'
345
+ ```
346
+ **TypeScript**
347
+
348
+ ```ts
349
+ import { B3OS } from "@b3os/sdk";
350
+
351
+ const b3os = new B3OS();
352
+ const result = await b3os.actions.call({
353
+ ref: "io.b3os/jira/create-issue@1",
354
+ input: {
355
+ project_key: "SHOP",
356
+ summary: "Flaky checkout test",
357
+ issue_type: "Bug",
358
+ description: "Seen three times this week.",
359
+ labels: ["ci"],
360
+ },
361
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
362
+ }, { idempotencyKey: crypto.randomUUID() });
363
+ console.log(result.output);
364
+ ```
365
+ **Python**
366
+
367
+ ```python
368
+ import uuid
369
+ from b3os import B3OS
370
+
371
+ b3os = B3OS()
372
+ result = b3os.actions.call({
373
+ "ref": "io.b3os/jira/create-issue@1",
374
+ "input": {
375
+ "project_key": "SHOP",
376
+ "summary": "Flaky checkout test",
377
+ "issue_type": "Bug",
378
+ "description": "Seen three times this week.",
379
+ "labels": ["ci"],
380
+ },
381
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
382
+ }, idempotency_key=str(uuid.uuid4()))
383
+ print(result["output"])
384
+ ```
385
+ **MCP**
386
+
387
+ ```json
388
+ {
389
+ "method": "tools/call",
390
+ "params": {
391
+ "name": "jira__create-issue",
392
+ "arguments": {
393
+ "project_key": "SHOP",
394
+ "summary": "Flaky checkout test",
395
+ "issue_type": "Bug",
396
+ "description": "Seen three times this week.",
397
+ "labels": ["ci"]
398
+ }
399
+ }
400
+ }
401
+ ```
402
+
403
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__create-issue` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
404
+
405
+ Output, labeled `fixture`: Create issue (documented response shape, example values). From the bundle's `fixtures/create-issue.json`, not a live call.
406
+
407
+ ```json
408
+ {
409
+ "key": "SHOP-43",
410
+ "id": "10043",
411
+ "url": "https://acme.atlassian.net/browse/SHOP-43"
412
+ }
413
+ ```
414
+
415
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
416
+
417
+ | `pack_error.code` | Service status | Retryable | Message |
418
+ |---|---|---|---|
419
+ | `not_found` | 404 | no | built from the service's response |
420
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
421
+ | `forbidden` | 403 | no | built from the service's response |
422
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
423
+ | `invalid_request` | 400 | no | built from the service's response |
424
+
425
+ <h3 id="jira-add-comment"><code>add-comment</code></h3>
426
+
427
+ **Comment on issue.** Add a plain-text comment to an issue (sent as one paragraph). Returns the comment id. Not idempotent.
428
+
429
+ Ref `io.b3os/jira/add-comment@1.0.0` · effect `write` · connection `jira` · MCP tool `jira__add-comment`
430
+
431
+ **curl**
432
+
433
+ ```bash
434
+ curl -s https://beta-api.b3os.org/v1/actions/call \
435
+ -H "Authorization: Bearer $B3OS_API_KEY" \
436
+ -H "Idempotency-Key: 7c1e2f6a-1d43-4a8e-b2a5-3f0c9d5e8b11" \
437
+ -H "Content-Type: application/json" \
438
+ -d '{
439
+ "ref": "io.b3os/jira/add-comment@1",
440
+ "input": {"key": "SHOP-42", "text": "Fixed in build 812."},
441
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
442
+ }'
443
+ ```
444
+ **TypeScript**
445
+
446
+ ```ts
447
+ import { B3OS } from "@b3os/sdk";
448
+
449
+ const b3os = new B3OS();
450
+ const result = await b3os.actions.call({
451
+ ref: "io.b3os/jira/add-comment@1",
452
+ input: { key: "SHOP-42", text: "Fixed in build 812." },
453
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
454
+ }, { idempotencyKey: crypto.randomUUID() });
455
+ console.log(result.output);
456
+ ```
457
+ **Python**
458
+
459
+ ```python
460
+ import uuid
461
+ from b3os import B3OS
462
+
463
+ b3os = B3OS()
464
+ result = b3os.actions.call({
465
+ "ref": "io.b3os/jira/add-comment@1",
466
+ "input": {"key": "SHOP-42", "text": "Fixed in build 812."},
467
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
468
+ }, idempotency_key=str(uuid.uuid4()))
469
+ print(result["output"])
470
+ ```
471
+ **MCP**
472
+
473
+ ```json
474
+ {
475
+ "method": "tools/call",
476
+ "params": {
477
+ "name": "jira__add-comment",
478
+ "arguments": {"key": "SHOP-42", "text": "Fixed in build 812."}
479
+ }
480
+ }
481
+ ```
482
+
483
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__add-comment` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
484
+
485
+ Output, labeled `fixture`: Comment on issue (documented response shape, example values). From the bundle's `fixtures/add-comment.json`, not a live call.
486
+
487
+ ```json
488
+ {"id": "10102", "created": "2026-10-26T08:00:00.000-0700"}
489
+ ```
490
+
491
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
492
+
493
+ | `pack_error.code` | Service status | Retryable | Message |
494
+ |---|---|---|---|
495
+ | `not_found` | 404 | no | built from the service's response |
496
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
497
+ | `forbidden` | 403 | no | built from the service's response |
498
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
499
+ | `invalid_request` | 400 | no | built from the service's response |
500
+
501
+ <h3 id="jira-get-transitions"><code>get-transitions</code></h3>
502
+
503
+ **Get transitions.** The workflow transitions available on an issue right now (Start progress, Done, ...), with their ids and the status each leads to. transition-issue needs one of these ids.
504
+
505
+ Ref `io.b3os/jira/get-transitions@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__get-transitions`
506
+
507
+ **curl**
508
+
509
+ ```bash
510
+ curl -s https://beta-api.b3os.org/v1/actions/call \
511
+ -H "Authorization: Bearer $B3OS_API_KEY" \
512
+ -H "Content-Type: application/json" \
513
+ -d '{
514
+ "ref": "io.b3os/jira/get-transitions@1",
515
+ "input": {"key": "SHOP-42"},
516
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
517
+ }'
518
+ ```
519
+ **TypeScript**
520
+
521
+ ```ts
522
+ import { B3OS } from "@b3os/sdk";
523
+
524
+ const b3os = new B3OS();
525
+ const result = await b3os.actions.call({
526
+ ref: "io.b3os/jira/get-transitions@1",
527
+ input: { key: "SHOP-42" },
528
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
529
+ });
530
+ console.log(result.output);
531
+ ```
532
+ **Python**
533
+
534
+ ```python
535
+ from b3os import B3OS
536
+
537
+ b3os = B3OS()
538
+ result = b3os.actions.call({
539
+ "ref": "io.b3os/jira/get-transitions@1",
540
+ "input": {"key": "SHOP-42"},
541
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
542
+ })
543
+ print(result["output"])
544
+ ```
545
+ **MCP**
546
+
547
+ ```json
548
+ {
549
+ "method": "tools/call",
550
+ "params": {"name": "jira__get-transitions", "arguments": {"key": "SHOP-42"}}
551
+ }
552
+ ```
553
+
554
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__get-transitions` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
555
+
556
+ Output, labeled `fixture`: Get transitions (documented response shape, example values). From the bundle's `fixtures/get-transitions.json`, not a live call.
557
+
558
+ ```json
559
+ {
560
+ "transitions": [
561
+ {
562
+ "id": "21",
563
+ "name": "In Progress",
564
+ "to_status": "In Progress",
565
+ "to_category": "indeterminate"
566
+ },
567
+ {
568
+ "id": "31",
569
+ "name": "Done",
570
+ "to_status": "Done",
571
+ "to_category": "done"
572
+ }
573
+ ]
574
+ }
575
+ ```
576
+
577
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
578
+
579
+ | `pack_error.code` | Service status | Retryable | Message |
580
+ |---|---|---|---|
581
+ | `not_found` | 404 | no | built from the service's response |
582
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
583
+ | `forbidden` | 403 | no | built from the service's response |
584
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
585
+ | `invalid_request` | 400 | no | built from the service's response |
586
+
587
+ <h3 id="jira-transition-issue"><code>transition-issue</code></h3>
588
+
589
+ **Transition issue.** Move an issue through its workflow with a transition id from get-transitions, for example to In Progress or Done. Fields the transition screen requires are not set by this action.
590
+
591
+ Ref `io.b3os/jira/transition-issue@1.0.0` · effect `write` · connection `jira` · MCP tool `jira__transition-issue`
592
+
593
+ **curl**
594
+
595
+ ```bash
596
+ curl -s https://beta-api.b3os.org/v1/actions/call \
597
+ -H "Authorization: Bearer $B3OS_API_KEY" \
598
+ -H "Idempotency-Key: 7c1e2f6a-1d43-4a8e-b2a5-3f0c9d5e8b11" \
599
+ -H "Content-Type: application/json" \
600
+ -d '{
601
+ "ref": "io.b3os/jira/transition-issue@1",
602
+ "input": {"key": "SHOP-42", "transition_id": "31"},
603
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
604
+ }'
605
+ ```
606
+ **TypeScript**
607
+
608
+ ```ts
609
+ import { B3OS } from "@b3os/sdk";
610
+
611
+ const b3os = new B3OS();
612
+ const result = await b3os.actions.call({
613
+ ref: "io.b3os/jira/transition-issue@1",
614
+ input: { key: "SHOP-42", transition_id: "31" },
615
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
616
+ }, { idempotencyKey: crypto.randomUUID() });
617
+ console.log(result.output);
618
+ ```
619
+ **Python**
620
+
621
+ ```python
622
+ import uuid
623
+ from b3os import B3OS
624
+
625
+ b3os = B3OS()
626
+ result = b3os.actions.call({
627
+ "ref": "io.b3os/jira/transition-issue@1",
628
+ "input": {"key": "SHOP-42", "transition_id": "31"},
629
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
630
+ }, idempotency_key=str(uuid.uuid4()))
631
+ print(result["output"])
632
+ ```
633
+ **MCP**
634
+
635
+ ```json
636
+ {
637
+ "method": "tools/call",
638
+ "params": {
639
+ "name": "jira__transition-issue",
640
+ "arguments": {"key": "SHOP-42", "transition_id": "31"}
641
+ }
642
+ }
643
+ ```
644
+
645
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__transition-issue` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
646
+
647
+ Output, labeled `fixture`: Transition issue (documented response shape, example values). From the bundle's `fixtures/transition-issue.json`, not a live call.
648
+
649
+ ```json
650
+ {"key": "SHOP-42", "transition_id": "31"}
651
+ ```
652
+
653
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
654
+
655
+ | `pack_error.code` | Service status | Retryable | Message |
656
+ |---|---|---|---|
657
+ | `not_found` | 404 | no | built from the service's response |
658
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
659
+ | `forbidden` | 403 | no | built from the service's response |
660
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
661
+ | `invalid_request` | 400 | no | built from the service's response |
662
+
663
+ <h3 id="jira-assign-issue"><code>assign-issue</code></h3>
664
+
665
+ **Assign issue.** Assign an issue to a user by account id (find-users looks them up), or unassign it when account_id is omitted.
666
+
667
+ Ref `io.b3os/jira/assign-issue@1.0.0` · effect `write` · connection `jira` · MCP tool `jira__assign-issue`
668
+
669
+ **curl**
670
+
671
+ ```bash
672
+ curl -s https://beta-api.b3os.org/v1/actions/call \
673
+ -H "Authorization: Bearer $B3OS_API_KEY" \
674
+ -H "Idempotency-Key: 7c1e2f6a-1d43-4a8e-b2a5-3f0c9d5e8b11" \
675
+ -H "Content-Type: application/json" \
676
+ -d '{
677
+ "ref": "io.b3os/jira/assign-issue@1",
678
+ "input": {
679
+ "key": "SHOP-42",
680
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e"
681
+ },
682
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
683
+ }'
684
+ ```
685
+ **TypeScript**
686
+
687
+ ```ts
688
+ import { B3OS } from "@b3os/sdk";
689
+
690
+ const b3os = new B3OS();
691
+ const result = await b3os.actions.call({
692
+ ref: "io.b3os/jira/assign-issue@1",
693
+ input: {
694
+ key: "SHOP-42",
695
+ account_id: "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
696
+ },
697
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
698
+ }, { idempotencyKey: crypto.randomUUID() });
699
+ console.log(result.output);
700
+ ```
701
+ **Python**
702
+
703
+ ```python
704
+ import uuid
705
+ from b3os import B3OS
706
+
707
+ b3os = B3OS()
708
+ result = b3os.actions.call({
709
+ "ref": "io.b3os/jira/assign-issue@1",
710
+ "input": {
711
+ "key": "SHOP-42",
712
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
713
+ },
714
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
715
+ }, idempotency_key=str(uuid.uuid4()))
716
+ print(result["output"])
717
+ ```
718
+ **MCP**
719
+
720
+ ```json
721
+ {
722
+ "method": "tools/call",
723
+ "params": {
724
+ "name": "jira__assign-issue",
725
+ "arguments": {
726
+ "key": "SHOP-42",
727
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e"
728
+ }
729
+ }
730
+ }
731
+ ```
732
+
733
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__assign-issue` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
734
+
735
+ Output, labeled `fixture`: Assign issue (documented response shape, example values). From the bundle's `fixtures/assign-issue.json`, not a live call.
736
+
737
+ ```json
738
+ {
739
+ "key": "SHOP-42",
740
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e"
741
+ }
742
+ ```
743
+
744
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
745
+
746
+ | `pack_error.code` | Service status | Retryable | Message |
747
+ |---|---|---|---|
748
+ | `not_found` | 404 | no | built from the service's response |
749
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
750
+ | `forbidden` | 403 | no | built from the service's response |
751
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
752
+ | `invalid_request` | 400 | no | built from the service's response |
753
+
754
+ <h3 id="jira-find-users"><code>find-users</code></h3>
755
+
756
+ **Find users.** Find people by name or email fragment, with account ids for assign-issue and create-issue. Email is only shown where the user's privacy settings allow.
757
+
758
+ Ref `io.b3os/jira/find-users@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__find-users`
759
+
760
+ **curl**
761
+
762
+ ```bash
763
+ curl -s https://beta-api.b3os.org/v1/actions/call \
764
+ -H "Authorization: Bearer $B3OS_API_KEY" \
765
+ -H "Content-Type: application/json" \
766
+ -d '{
767
+ "ref": "io.b3os/jira/find-users@1",
768
+ "input": {"query": "mona"},
769
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
770
+ }'
771
+ ```
772
+ **TypeScript**
773
+
774
+ ```ts
775
+ import { B3OS } from "@b3os/sdk";
776
+
777
+ const b3os = new B3OS();
778
+ const result = await b3os.actions.call({
779
+ ref: "io.b3os/jira/find-users@1",
780
+ input: { query: "mona" },
781
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
782
+ });
783
+ console.log(result.output);
784
+ ```
785
+ **Python**
786
+
787
+ ```python
788
+ from b3os import B3OS
789
+
790
+ b3os = B3OS()
791
+ result = b3os.actions.call({
792
+ "ref": "io.b3os/jira/find-users@1",
793
+ "input": {"query": "mona"},
794
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
795
+ })
796
+ print(result["output"])
797
+ ```
798
+ **MCP**
799
+
800
+ ```json
801
+ {
802
+ "method": "tools/call",
803
+ "params": {"name": "jira__find-users", "arguments": {"query": "mona"}}
804
+ }
805
+ ```
806
+
807
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__find-users` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
808
+
809
+ Output, labeled `fixture`: Find users (documented response shape, example values). From the bundle's `fixtures/find-users.json`, not a live call.
810
+
811
+ ```json
812
+ {
813
+ "users": [
814
+ {
815
+ "account_id": "712020:1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
816
+ "display_name": "Mona Example",
817
+ "email": "mona@acme.example",
818
+ "active": true
819
+ }
820
+ ]
821
+ }
822
+ ```
823
+
824
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
825
+
826
+ | `pack_error.code` | Service status | Retryable | Message |
827
+ |---|---|---|---|
828
+ | `not_found` | 404 | no | built from the service's response |
829
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
830
+ | `forbidden` | 403 | no | built from the service's response |
831
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
832
+ | `invalid_request` | 400 | no | built from the service's response |
833
+
834
+ <h3 id="jira-list-projects"><code>list-projects</code></h3>
835
+
836
+ **List projects.** Projects visible to the user, optionally filtered by name or key: key, name, type (software, business, service_desk) and id. Page with start_at.
837
+
838
+ Ref `io.b3os/jira/list-projects@1.0.0` · effect `read` · connection `jira` · MCP tool `jira__list-projects`
839
+
840
+ **curl**
841
+
842
+ ```bash
843
+ curl -s https://beta-api.b3os.org/v1/actions/call \
844
+ -H "Authorization: Bearer $B3OS_API_KEY" \
845
+ -H "Content-Type: application/json" \
846
+ -d '{
847
+ "ref": "io.b3os/jira/list-projects@1",
848
+ "input": {"max_results": 2},
849
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}
850
+ }'
851
+ ```
852
+ **TypeScript**
853
+
854
+ ```ts
855
+ import { B3OS } from "@b3os/sdk";
856
+
857
+ const b3os = new B3OS();
858
+ const result = await b3os.actions.call({
859
+ ref: "io.b3os/jira/list-projects@1",
860
+ input: { max_results: 2 },
861
+ connections: { jira: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
862
+ });
863
+ console.log(result.output);
864
+ ```
865
+ **Python**
866
+
867
+ ```python
868
+ from b3os import B3OS
869
+
870
+ b3os = B3OS()
871
+ result = b3os.actions.call({
872
+ "ref": "io.b3os/jira/list-projects@1",
873
+ "input": {"max_results": 2},
874
+ "connections": {"jira": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
875
+ })
876
+ print(result["output"])
877
+ ```
878
+ **MCP**
879
+
880
+ ```json
881
+ {
882
+ "method": "tools/call",
883
+ "params": {"name": "jira__list-projects", "arguments": {"max_results": 2}}
884
+ }
885
+ ```
886
+
887
+ Expose the pack as tools with `--packs jira` on the local server or `?packs=jira` on the remote URL, and the agent calls `jira__list-projects` with the action's input. The tool uses your newest connection for each key without a `subject`. Without exposing the pack, `actions_call` takes the same input with `ref`.
888
+
889
+ Output, labeled `fixture`: List projects (documented response shape, example values). From the bundle's `fixtures/list-projects.json`, not a live call.
890
+
891
+ ```json
892
+ {
893
+ "projects": [
894
+ {
895
+ "id": "10000",
896
+ "key": "SHOP",
897
+ "name": "Storefront",
898
+ "type": "software"
899
+ },
900
+ {
901
+ "id": "10001",
902
+ "key": "OPS",
903
+ "name": "Operations",
904
+ "type": "service_desk"
905
+ }
906
+ ],
907
+ "total": 2,
908
+ "is_last": true
909
+ }
910
+ ```
911
+
912
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
913
+
914
+ | `pack_error.code` | Service status | Retryable | Message |
915
+ |---|---|---|---|
916
+ | `not_found` | 404 | no | built from the service's response |
917
+ | `connection_unauthorized` | 401 | no | Jira rejected the email and API token. |
918
+ | `forbidden` | 403 | no | built from the service's response |
919
+ | `rate_limited` | 429 | yes | Jira rate limit reached; retry after the Retry-After header. |
920
+ | `invalid_request` | 400 | no | built from the service's response |