Unable to synchronize issue type 'defect' from Jira Align to Jira
Summary
When trying to synchronize a 'defect' issue type from Jira Align to Jira, the process fails with the error:
Unable to create issue (typeid:100xx): 400:Bad Request, customfield_100xx: Field
'customfield_100xx' cannot be set. It is not on the appropriate screen, or unknown.
Sync failures for defects with story points in Jira Align
In Jira Align, attempt to create a new defect and sync it to Jira
Observe the sync failure message:
Unable to create issue (typeid:100xx): 400:Bad Request, customfield_100xx: Field 'customfield_100xx' cannot be set. It is not on the appropriate screen, or unknown.
Consider the custom field to be "Story points" for this purpose of explanation.
Verification done:
Story points have the same custom field ID in Jira as defined in Jira Align
Story points field is present under the appropriate screen.
Solution
Resolve sync issues
In Jira, go to the Custom Field Settings
Navigate to Jira Settings > Work Items > Fields > Custom Fields.
Search for the Story Points field (customfield_100xx) > Click on Story Points, go to > Contexts tab.
Contexts will be associated with Epic and Story by default.
Edit the context by clicking on Create, Edit, or Delete Contexts > Edit Configuration.
Under Choose application issue type, select "Bug" along with Story and Feature.
To save the changes, click on "Modify".
After making these changes, test by adding a test description to the defect in Jira Align. The synchronization should work as expected.
Was this helpful?