REST API: Ability to set ExternalProject field for Story and Features using PATCH or PUT

XMLWordPrintable

    • 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.

            Assignee:
            Yannick Genin
            Reporter:
            Francois Panaget (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: