-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: REST API
-
None
-
1
Currently, you can only set the 'Externalproject' during creation using the Features (/align/api/2/Features) or Story (/align/api/2/Stories) endpoints.
If you try to modify the 'Externalproject' field (even if it is null) of an existing item via PATCH or PUT methods, the call fails with a 400 Bad Request.
You get the error when updating:
"Cannot update feature with id <id>. Value for externalProject is invalid." "Cannot update story with id <id>. Value for externalProject is invalid."
Hence, the item must be manually updated (Azure Devops AreaPath field) via UI before it can be synced to ADO.
For Jira Project, this is possible as long as the jiraProjectKey field is null.