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

Assignment struct has no json conversion #92

Closed
celestedrobinson opened this issue Oct 10, 2017 · 4 comments
Closed

Assignment struct has no json conversion #92

celestedrobinson opened this issue Oct 10, 2017 · 4 comments

Comments

@celestedrobinson
Copy link

This causes problems for some of the methods. For example, I spent a long time trying to figure out why the ManageIncidents method kept giving this message:

Unable to acknowledge Failed call API endpoint. HTTP response code: 400. Error: &{2001 Invalid Input Provided [Assignee cannot be empty.]}

I can make that change and make a pull request if needed, though it was a simple fix once I figured out what was wrong

@vanugrah
Copy link

@bradleyrobinson - Would you mind sharing what the fix was? I'm trying to create an array of UserReferences and I'm getting the same error:

 "assignments": [{
    		"id": "ABCDEFG",
    		"type": "user_reference"
    	}]

@celestedrobinson
Copy link
Author

The code is missing json tags, my pull request fixes the error: 8207ed9

@wdhnl
Copy link
Contributor

wdhnl commented May 18, 2018

Can someone from PD take a look at this?

@stmcallister
Copy link
Contributor

Thanks for the PR @bradleyrobinson ! Appears #93 solved this. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants