| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class SprintService extends JiraClient |
||
| 18 | { |
||
| 19 | //https://jira01.devtools.intel.com/rest/agile/1.0/board?projectKeyOrId=34012 |
||
| 20 | private $uri = '/sprint'; |
||
| 21 | |||
| 22 | public function __construct(ConfigurationInterface $configuration = null, Logger $logger = null, $path = './') |
||
| 23 | { |
||
| 24 | parent::__construct($configuration, $logger, $path); |
||
| 25 | $this->setAPIUri('/rest/agile/1.0'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getSprintFromJSON($json) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * get all Sprint list. |
||
| 39 | * |
||
| 40 | * @param Sprint $sprintObject |
||
| 41 | * |
||
| 42 | * @throws JiraException |
||
| 43 | * @throws \JsonMapper_Exception |
||
| 44 | * |
||
| 45 | * @return object |
||
| 46 | */ |
||
| 47 | public function getSprint($sprintObject = null) |
||
| 57 | ); |
||
| 58 | } |
||
| 61 |