eduardocruz/pivotal-tracker-api

源自 drzippie/pivotal-tracker-api 的分支

1.1.1 2014-11-02 09:20 UTC

This package is auto-updated.

Last update: 2024-09-24 10:38:35 UTC


README

提供 PHP 接口与 PivotalTracker API V5 交互的库

示例

$pivotalTracker =  new \PivotalTrackerV5\Client(  $apiToken , $projectId ) ;

$storyList = $pivotalTracker->getStories( 'label:test')  ;

添加故事

$story =  array(
		'name' => 'A Brand New Story',
		'story_type' => 'feature',
		'description' => 'A small description',
		'labels' => array(  
		    array( 
		    	'name' => 'test'  
		    ) 
		 )
); 
$result = $pivotalTracker->addStory( $story )  ;