REST API Agile data

GET /issues/[issue_id]/agile_data.xml

Shows Agile fields for the issue

Examples:

GET /issues/580/agile_data.xml
GET /issues/580/agile_data.json

Response:

<?xml version="1.0"?>
<agile_data>
    <id>49</id>
    <issue_id>580</issue_id>
    <position/>
    <story_points/>
    <agile_sprint_id>3</agile_sprint_id>
</agile_data>

To update or assign a sprint of issue, use the following query

PUT /issues/<issue_id>.json?key=<your_API_key>
{
  "issue": {
    "agile_data_attributes": {
      "agile_sprint_id": <your_sprint_id>
    }
  }
}

Example

PUT http://localhost:3000/issues/3.json?key=ef1756ad1103c2512e79ffd089b72b979491c5e5
{
  "issue": {
    "agile_data_attributes": {
      "agile_sprint_id": 1
    }
  }
}
Was this article helpful? Yes  No
492 from 543 found this helpful