-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Mapped the new issue.Metadata methods. #327
Conversation
ctreminiom
commented
Oct 6, 2024
•
edited
Loading
edited
- Resolves: Get Create Issue Metadata endpoint (for Jira) is deprecated #319
- Updated the README.md and added a new section to execute a RAW endpoints
@@ -99,7 +99,7 @@ | |||
|
|||
## ☕Cookbooks | |||
|
|||
For detailed examples and usage of the go-atlassian library, please refer to our Cookbook. This section provides step-by-step guides and code samples for common tasks and scenarios. | |||
For detailed examples and usage of the go-atlassian library, please refer to our [**Cookbook**](https://docs.go-atlassian.io/cookbooks). This section provides step-by-step guides and code samples for common tasks and scenarios. |
Check warning
Code scanning / Markdownlint (reported by Codacy)
Expected: 80; Actual: 227 Warning
@@ -161,6 +161,65 @@ | |||
|
|||
The rest of the service functions work much the same way; they are concise and behave as you would expect. The [documentation](https://docs.go-atlassian.io/) contains several examples on how to use each service function. | |||
|
|||
|
Check warning
Code scanning / Markdownlint (reported by Codacy)
Expected: 1; Actual: 2 Warning
@@ -161,6 +161,65 @@ | |||
|
|||
The rest of the service functions work much the same way; they are concise and behave as you would expect. The [documentation](https://docs.go-atlassian.io/) contains several examples on how to use each service function. | |||
|
|||
|
|||
## 📪Call a RAW API Endpoint |
Check warning
Code scanning / Markdownlint (reported by Codacy)
Expected: 1; Actual: 0; Below Warning
@@ -161,6 +161,65 @@ | |||
|
|||
The rest of the service functions work much the same way; they are concise and behave as you would expect. The [documentation](https://docs.go-atlassian.io/) contains several examples on how to use each service function. | |||
|
|||
|
|||
## 📪Call a RAW API Endpoint | |||
If you need to interact with an Atlassian API endpoint that hasn't been implemented in the `go-atlassian` library yet, you can make a custom API request using the built-in `Client.Call` method to execute raw HTTP requests. |
Check warning
Code scanning / Markdownlint (reported by Codacy)
Expected: 80; Actual: 222 Warning
// Define the RAW endpoint | ||
apiEndpoint := "rest/api/3/issue/createmeta/KP/issuetypes" | ||
|
||
request, err := atlassian.NewRequest(context.Background(), http.MethodGet, apiEndpoint, "", nil) |
Check warning
Code scanning / Markdownlint (reported by Codacy)
Expected: 80; Actual: 102 Warning
- Resolves: #319 - Updated the README.md and added a new section to execute a RAW endpoint - Created the documentation links: - https://docs.go-atlassian.io/jira-software-cloud/issues/metadata#get-create-metadata-issue-types-for-a-project - https://docs.go-atlassian.io/jira-software-cloud/issues/metadata#get-create-field-metadata-for-a-project-and-issue-type-id
95e491d
to
87f1568
Compare