I am trying to create an issue in ServiceDesk that is set up on-premise.
Am getting a an error of:
{"time":"2023-10-23T16:28:52.746847979+03:00","level":"INFO","msg":"request failed. Please analyze the request body for more details. Status code: 400"}
I am may be going wrong about it but I am see in a manual approach a ticket I created from the UI and using curl/firefox to see the ticket I see:
How can we reproduce it (as minimally and precisely as possible)?
try to create a task in ServiceDesk
Minimal code helps us to identify the problem faster.
This depends on your jira used for testing/development. To be able to reproduce it you need field that accepts a bit more comple than a string
Anything else we need to know?
Your Environment
Include as many relevant details about the environment you experienced the problem in
go-jira version (git tag or sha): main
Go version (go version): go version go1.21.0 linux/amd64
What happened?
I am trying to create an issue in ServiceDesk that is set up on-premise. Am getting a an error of:
I am may be going wrong about it but I am see in a manual approach a ticket I created from the UI and using curl/firefox to see the ticket I see:
to me, it seems that the value used in the []jira.RequestFieldValue allow only
string
https://github.com/andygrunwald/go-jira/blob/2e11dffbdb9a4710fdc9233e8efe0a124e204e24/onpremise/request.go#L29 May changing this to empty interface or any we can allow any value to be passedWhat did you expect to happen?
A ticket to be created successfully
How can we reproduce it (as minimally and precisely as possible)?
try to create a task in ServiceDesk
Minimal code helps us to identify the problem faster. This depends on your jira used for testing/development. To be able to reproduce it you need field that accepts a bit more comple than a string
Anything else we need to know?
Your Environment
Include as many relevant details about the environment you experienced the problem in
go version
): go version go1.21.0 linux/amd64