test-integration / tasks /linear /update-issue-properties.json
dzakaathif's picture
PR #9 (#9)
b87330c verified
{
"spa": "linear",
"id": "update-issue-properties",
"name": "Update Issue Properties",
"description": "Change both priority to urgent and add Operations label to VSS-105",
"tier": "free",
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/linear/index.html\"}",
"initial_state": "{\"issues\": [{\"id\": \"5\", \"identifier\": \"VSS-105\", \"title\": \"Implement gravity simulator physics calculations\", \"status\": \"queued\", \"assigneeId\": \"2\", \"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\": \"Update issue VSS-105 by following these steps: 1) Click on issue VSS-105 on the kanban board to open it. 2) First, locate the Priority section in the right sidebar and click the priority dropdown. 3) Select 'Urgent' from the dropdown menu. 4) Then, locate the Labels section in the right sidebar. 5) Click the 'Add label' button to open the labels dropdown. 6) Click on the 'Operations' label to add it to the issue.\", \"success_criteria\": \"Issue VSS-105 must have priority='urgent' and contain the Operations label (id='label2') in its labels array.\"}",
"reward_function": "_validate_update_issue_properties",
"valid_target_states": "",
"max_steps": 10,
"timeout_seconds": 90,
"metadata": "{\"category\": \"productivity\", \"difficulty\": \"medium\"}"
}