File size: 2,410 Bytes
934aad3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
id: cb-026
title: "Find Jira issues blocked for more than 3 days and notify on Slack"
difficulty: medium
category: composite
description: |
  Search the Jira project "INFRA" for issues with status "Blocked" that have
  been in that status for more than 3 days. For each blocked issue, post a
  notification to the #incidents Slack channel with the issue key, summary,
  assignee, and how long it has been blocked.
tools_provided:
  - jira
  - slack
initial_state:
  jira:
    projects:
      - key: INFRA
        name: "Infrastructure"
        issues:
          - key: INFRA-301
            summary: "Upgrade load balancer firmware"
            status: "Blocked"
            status_changed: "2026-03-07T10:00:00Z"
            assignee: ops-alice
            priority: High
            blocker_reason: "Waiting for vendor approval"
          - key: INFRA-302
            summary: "Deploy new monitoring agent"
            status: "Blocked"
            status_changed: "2026-03-11T14:00:00Z"
            assignee: ops-bob
            priority: Medium
            blocker_reason: "Dependency on INFRA-301"
          - key: INFRA-303
            summary: "Rotate SSL certificates"
            status: "Blocked"
            status_changed: "2026-03-05T09:00:00Z"
            assignee: ops-carol
            priority: Critical
            blocker_reason: "Certificate authority outage"
          - key: INFRA-304
            summary: "Set up backup replication"
            status: "In Progress"
            assignee: ops-alice
            priority: High
          - key: INFRA-305
            summary: "Network segmentation review"
            status: "Blocked"
            status_changed: "2026-03-10T08:00:00Z"
            assignee: null
            priority: Medium
            blocker_reason: "Pending security team review"
  slack:
    channels:
      - id: C005
        name: incidents
        is_private: false
        num_members: 15
        messages: []
expected_state:
  jira:
    command_history:
      - pattern: "jira issue list.*--project.*INFRA.*--status.*Blocked"
  slack:
    channels:
      - name: incidents
        messages:
          - text_contains: "INFRA-301"
          - text_contains: "INFRA-303"
    command_history:
      - pattern: "slack message send.*--channel.*incidents"
scoring:
  outcome: 0.6
  efficiency: 0.2
  recovery: 0.2
max_turns: 8
optimal_commands: 3
timeout_seconds: 60