We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v1.1.1
The Filter.Share.SetScope method returns an HTTP 415 when we try to edit the Filter Share scope
bash request failed. Please analyze the request body for more details. Status Code: 415
Edit the Default Filter Share Scope
If applicable, add screenshots to help explain your problem.
package main import ( "context" "github.com/ctreminiom/go-atlassian/jira" "log" "os" ) func main() { var ( host = os.Getenv("HOST") mail = os.Getenv("MAIL") token = os.Getenv("TOKEN") ) atlassian, err := jira.New(nil, host) if err != nil { return } atlassian.Auth.SetBasicAuth(mail, token) response, err := atlassian.Filter.Share.SetScope(context.Background(), "GLOBAL") if err != nil { if response != nil { log.Println("Response HTTP Response", string(response.BodyAsBytes)) } log.Fatal(err) } log.Println("Response HTTP Code", response.StatusCode) log.Println("HTTP Endpoint Used", response.Endpoint) }
The text was updated successfully, but these errors were encountered:
🐛 Closes #9
fd2bbcd
ctreminiom
Successfully merging a pull request may close this issue.
go-atlassian version
v1.1.1
go-atlassian component
Describe the bug 🐛
The Filter.Share.SetScope method returns an HTTP 415 when we try to edit the Filter Share scope
bash request failed. Please analyze the request body for more details. Status Code: 415
To Reproduce 🚧
Expected behavior ✅
Edit the Default Filter Share Scope
Screenshots:page_facing_up:
If applicable, add screenshots to help explain your problem.
Additional context
Code snippet
The text was updated successfully, but these errors were encountered: