test-integration / tasks /linear /add-label-to-issue.json
dzakaathif's picture
PR #9 (#9)
b87330c verified
{
"spa": "linear",
"id": "add-label-to-issue",
"name": "Add Label to Issue",
"description": "Add the Bug label to issue VSS-104",
"tier": "free",
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}",
"initial_state": "{\"issues\": [{\"id\": \"4\", \"identifier\": \"VSS-104\", \"title\": \"Build 3D station rotation visualizer component\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [], \"projectId\": \"proj1\", \"priority\": \"none\"}], \"users\": [{\"id\": \"1\", \"name\": \"Riley\", \"avatar\": \"R\", \"email\": \"riley@station.space\"}, {\"id\": \"2\", \"name\": \"Chen\", \"avatar\": \"C\", \"email\": \"chen@station.space\"}], \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}, {\"id\": \"label2\", \"name\": \"Operations\", \"color\": \"#8B5CF6\"}, {\"id\": \"label3\", \"name\": \"Feature\", \"color\": \"#10B981\"}], \"cycles\": [{\"id\": \"cycle53\", \"name\": \"Cycle 53\", \"startDate\": \"Oct 20\", \"endDate\": \"Oct 26\", \"scope\": 114, \"started\": 32, \"completed\": 22, \"status\": \"current\"}, {\"id\": \"cycle54\", \"name\": \"Cycle 54\", \"startDate\": \"Oct 27\", \"endDate\": \"Nov 2\", \"scope\": 0, \"started\": 0, \"completed\": 0, \"status\": \"upcoming\"}], \"projects\": [{\"id\": \"proj1\", \"name\": \"Data Collector\", \"teamId\": \"team1\"}], \"milestones\": [{\"id\": \"milestone3\", \"name\": \"Data Pipeline v2 Release\", \"targetDate\": \"Nov 1\", \"color\": \"#10B981\", \"projectId\": \"proj1\"}], \"teamIdentifier\": \"VSS\"}",
"instructions": "{\"user_prompt\": \"Add the Bug label to issue VSS-104 by following these steps: 1) Click on issue VSS-104 on the kanban board to open it. 2) Find the Labels section in the right sidebar of the issue details page. 3) Click the 'Add label' button to open the labels dropdown. 4) Click on the 'Bug' label in the dropdown to add it to the issue.\", \"success_criteria\": \"Issue VSS-104 must have the Bug label (id='label1') in its labels array.\"}",
"reward_function": "",
"valid_target_states": "[{\"issues\": [{\"id\": \"4\", \"identifier\": \"VSS-104\", \"title\": \"Build 3D station rotation visualizer component\", \"status\": \"queued\", \"assigneeId\": \"1\", \"labels\": [{\"id\": \"label1\", \"name\": \"Bug\", \"color\": \"#EF4444\"}], \"projectId\": \"proj1\", \"priority\": \"none\"}]}]",
"max_steps": 7,
"timeout_seconds": 60,
"metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}"
}