Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Feb 13, 2023
1 parent 017b138 commit 873af8f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/issues/issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ Returns a specific issue based on the issue ID.
##### `project($projectId)`
Returns all issues based on the project ID.

##### `create($parameter)`
Creates a new issue using the following scheme:
```php
$issue = $youtrack
->issues()
->create([
'project' => ['id' => '0-11'],
'summary' => 'New issue title',
'description' => 'My Description is optional.'
]);
```
Returns the data of the newly created issue. The return fields can also be defined here via `->fields()`.

##### `customFields($issueId)`
Returns all custom fields based on the issue ID.

Expand Down

0 comments on commit 873af8f

Please sign in to comment.