Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 98080fd

Browse files
committed
Option to get a single issue
1 parent 5699338 commit 98080fd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/Issue.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ public function availableReassignees()
171171
);
172172
}
173173

174+
/**
175+
* Get the details of this issue
176+
*
177+
* @return array
178+
*/
179+
public function get()
180+
{
181+
return $this->client->get(
182+
sprintf('projects/%d/issues/%d', $this->projectId, $this->id)
183+
);
184+
}
185+
174186
/**
175187
* Get a list of issue statuses the authenticated user may update the issue
176188
*

0 commit comments

Comments
 (0)