Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a board REST API Invalid location object

When I create a board using a location object that looks like this:

"location": {             


 "displayName""MY_PROJECT (MYP)",  





 "name""MY_PROJECT (MYP)"            }

I get an error message saying the following:

Response: <Response [400]>
"errorMessages": [
"Unrecognized field \"projectId\" (Class$LocationBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4fef046a; line: 1, column: 91] (through reference chain:[\"location\"]->[\"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

2 answers

Which Jira Software Cloud REST API endpoint are you sending the POST request to?

If you are sending the request to the /rest/agile/1.0/board endpoint, then you may want to re-read the documentation here, as the content of the location object can contain only two variables, 'type' and 'projectKeyOrID', like this:

"location": {"type": "<string>", "projectKeyOrId": "<string>" }

You seem to be trying to set the values of lots of different parameters that do not apply to the location object, or boards in general; for example, boards don't have avatars.

Apart from a location object, that endpoint accepts only three other parameters:

"name": "<string>", "type": "<string>", "filterId": <integer>

0 votes

Hello @Andrea Ezeobiejesi,

Welcome to Atlassian Community!

When creating a board via API, it’s necessary to set only two details on the location as David mentioned.

The documentation for Jira Cloud is this one: 

Please, use the endpoint below that will create a board on a specific project:

curl --request POST \
  --url '' \
--user '' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Board Via API",
  "type": "scrum or kanban",
  "filterId": 10000,
  "location": {
    "type": "project",
    "projectKeyOrId": "KEY"

Please, take your time to test and let us know how it goes.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you