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

Unable to create issue (typeid:10001): 400:, : Field '' cannot be set. It is not on the appropriate

Theodore Gill May 30, 2023

We are receiving this error when we create a story via the dependencies - it shows in Jira Align but does not assign the story to a project - so it does not sync to Jra (on prem) :

Unable to create issue (typeid:10001): 400:, : Field '' cannot be set. It is not on the appropriate screen, or unknown.

2 answers

1 accepted

2 votes
Answer accepted
Edvaldo Lima
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 31, 2023

Hi @Theodore Gill,

As mentioned by my colleague @Tim Keyes, the error you see is caused because JA is trying to pass a value that is not present on it to Jira, hence the error "Field '' is not set", below is one example of a log that shows this:

       JsonErrors: =Field '' cannot be set. It is not on the appropriate screen, or unknown.
       RequestBody: {
           "fields":
..
               "summary": "Test Story",
               "description": "Test Story.",
               "issuetype":
               {
                   "id": "7"
               },
               "customfield_10001": 0,
               "priority":
               {
                   "id": "2"
               },
               "":
               {
                   "value": ""
               },
...

This is usually caused by a problem with the Jira Settings > Jira Setup: Does story creation in Jira require a team assignment? configuration, where it is set as YES, but no team is configured on the Team Custom field. So the connector tries to send the Team value, but there is nothing to be sent, which results in the empty value on the JSON.

Another possible cause, but rarer, is the lack of configuration of the Jira Settings > Jira Setup: Story points custom field.

Solution

The possible solutions are to turn OFF the configuration Does story creation in Jira require a team assignment?, or if it is needed, configure the Teams under the Team Custom field.

 

FYI, I have raised a JA support ticket on your behalf so we can better track this issue, and will contact you shortly to assist you in getting this solved.!

Theodore Gill May 31, 2023

Your suggestion resolved the issue - thanks. 

Edvaldo Lima
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 31, 2023

Excellent @Theodore Gill, glad to assist you :)

3 votes
Tim Keyes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2023

Hi Theodore,

I hope all is well. Can you please verify if you receive the same error when creating a story in the Jira Align Story grid? There is probably a field on the Jira Screen for story that is required and not being sent by Jira Align or a field Jira Align is sending that does not exist in Jira.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events