When I create a board using a location object that looks like this:
"location": {
"projectId": 10001,
"displayName": "MY_PROJECT (MYP)",
"projectName": "MY_PROJECT",
"projectKey": "MYP",
"projectTypeKey": "software",
"avatarURI": "/secure/projectavatar?size=small&s=small&pid=10001&avatarId=10410",
"name": "MY_PROJECT (MYP)" }
I get an error message saying the following:
Response: <Response [400]>
{
"errorMessages": [
"Unrecognized field \"projectId\" (Class com.atlassian.greenhopper.api.rest.bean.BoardCreateBean$LocationBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4fef046a; line: 1, column: 91] (through reference chain: com.atlassian.greenhopper.api.rest.bean.BoardCreateBean[\"location\"]->com.atlassian.greenhopper.api.rest.bean.LocationBean[\"projectId\"])"
]
}
The request goes through when I do not include location but then I have to manually set the location of the board in Jira. Does anyone know how to resolve this? Thanks