Skip to content
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

Merged
merged 1 commit into from
Oct 10, 2024
Merged

✨ Mapped the new issue.Metadata methods. #327

merged 1 commit into from
Oct 10, 2024

Conversation

ctreminiom
Copy link
Owner

@ctreminiom ctreminiom commented Oct 6, 2024

@@ -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

Expected: 80; Actual: 227
@@ -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

Expected: 1; Actual: 2
@@ -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

Expected: 1; Actual: 0; Below
@@ -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

Expected: 80; Actual: 222
// 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

Expected: 80; Actual: 102
@ctreminiom ctreminiom marked this pull request as ready for review October 10, 2024 05:23
@ctreminiom ctreminiom added enhancement New feature or request Jira Software Cloud V2 Jira Cloud V2 V3 Jira Cloud V3 labels Oct 10, 2024
@ctreminiom ctreminiom merged commit e5bee47 into main Oct 10, 2024
40 checks passed
@ctreminiom ctreminiom deleted the feature/139 branch October 10, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Jira Software Cloud V2 Jira Cloud V2 V3 Jira Cloud V3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get Create Issue Metadata endpoint (for Jira) is deprecated
1 participant