Skip to content

Commit e669527

Browse files
byrroevantahler
andauthored
New Jira docs covering multi-cloud support (#362)
Co-authored-by: Evan Tahler <evan@arcade.dev>
1 parent 47047ba commit e669527

73 files changed

Lines changed: 403 additions & 73 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pages/toolkits/productivity/jira.mdx

Lines changed: 71 additions & 3 deletions
Large diffs are not rendered by default.

public/examples/integrations/toolkits/jira/add_comment_to_issue_example_call_tool.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ const toolInput = {
2222
"mention_users": [
2323
"john.doe@example.com",
2424
"jane.smith@example.com"
25-
]
25+
],
26+
// Important: about the atlassian_cloud_id argument, please refer to the documentation at
27+
// https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
28+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2629
};
2730

2831
const response = await client.tools.execute({

public/examples/integrations/toolkits/jira/add_comment_to_issue_example_call_tool.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
"mention_users": [
2222
"john.doe@example.com",
2323
"jane.smith@example.com"
24-
]
24+
],
25+
# Important: about the atlassian_cloud_id argument, please refer to the documentation at
26+
# https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
27+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2528
}
2629

2730
response = client.tools.execute(

public/examples/integrations/toolkits/jira/add_labels_to_issue_example_call_tool.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ const toolInput = {
2121
"bug",
2222
"urgent"
2323
],
24-
"notify_watchers": true
24+
"notify_watchers": true,
25+
// Important: about the atlassian_cloud_id argument, please refer to the documentation at
26+
// https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
27+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2528
};
2629

2730
const response = await client.tools.execute({

public/examples/integrations/toolkits/jira/add_labels_to_issue_example_call_tool.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"bug",
2121
"urgent"
2222
],
23-
"notify_watchers": True
23+
"notify_watchers": True,
24+
# Important: about the atlassian_cloud_id argument, please refer to the documentation at
25+
# https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
26+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2427
}
2528

2629
response = client.tools.execute(

public/examples/integrations/toolkits/jira/attach_file_to_issue_example_call_tool.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ await client.auth.waitForCompletion(authResponse);
1818
const toolInput = {
1919
"issue": "ISSUE-123",
2020
"filename": "report.pdf",
21-
"file_content_base64": "[base64_encoded_content]"
21+
"file_content_base64": "[base64_encoded_content]",
22+
// Important: about the atlassian_cloud_id argument, please refer to the documentation at
23+
// https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
24+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2225
};
2326

2427
const response = await client.tools.execute({

public/examples/integrations/toolkits/jira/attach_file_to_issue_example_call_tool.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
tool_input = {
1818
"issue": "ISSUE-123",
1919
"filename": "report.pdf",
20-
"file_content_base64": "[base64_encoded_content]"
20+
"file_content_base64": "[base64_encoded_content]",
21+
# Important: about the atlassian_cloud_id argument, please refer to the documentation at
22+
# https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
23+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2124
}
2225

2326
response = client.tools.execute(

public/examples/integrations/toolkits/jira/create_issue_example_call_tool.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ const toolInput = {
2525
"login_issue",
2626
"urgent"
2727
],
28-
"assignee": "john.doe@example.com"
28+
"assignee": "john.doe@example.com",
29+
// Important: about the atlassian_cloud_id argument, please refer to the documentation at
30+
// https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
31+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2932
};
3033

3134
const response = await client.tools.execute({

public/examples/integrations/toolkits/jira/create_issue_example_call_tool.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"login_issue",
2525
"urgent"
2626
],
27-
"assignee": "john.doe@example.com"
27+
"assignee": "john.doe@example.com",
28+
# Important: about the atlassian_cloud_id argument, please refer to the documentation at
29+
# https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
30+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2831
}
2932

3033
response = client.tools.execute(

public/examples/integrations/toolkits/jira/download_attachment_example_call_tool.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ if (authResponse.status !== "completed") {
1616
await client.auth.waitForCompletion(authResponse);
1717

1818
const toolInput = {
19-
"attachment_id": "12345"
19+
"attachment_id": "12345",
20+
// Important: about the atlassian_cloud_id argument, please refer to the documentation at
21+
// https://docs.arcade.dev/toolkits/productivity/jira#handling-multiple-atlassian-clouds
22+
"atlassian_cloud_id": "13516a07-1725-4dc0-9ae7-13b5749dd747"
2023
};
2124

2225
const response = await client.tools.execute({

0 commit comments

Comments
 (0)