andygrunwald / andygrunwald/go-jira

Servicedesk Get/Add Organizations - serviceDeskID should allow string type

オープン
#418 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs triage
主要言語
Go
スター
1.6k
フォーク
500
PR マージ指標
30日以内にマージされた PR はありません

説明

## Is your feature request related to a problem? Please describe.

In the documentation, it states that the serviceDeskID provided should be an integer.

> serviceDeskId REQUIRED
> integer
> The ID of the service desk from which the organization list will be returned. This can alternatively be a project identifier.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-servicedesk-servicedeskid-organization-get

However, this is not 100% correct it can also be a project identifier (a string) as described here: https://developer.atlassian.com/cloud/jira/service-desk/rest/intro/#project-identifiers

## Describe the solution you'd like

Update `servicedesk.go` signatures to allow strings instead of only `int` type for serviceDeskID.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。