Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P phabricator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Phabricator
  • phabricator
  • Merge requests
  • !12

CCU: handle snipe-IT exceptions and ticket transactions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ana Rute Mendes requested to merge anarute/phabricator:T21453 into deploy/production Jun 05, 2020
  • Overview 3
  • Commits 1
  • Changes 1

After creating items in Snipe-It we need to save in the ticket (maniphest task) the created ids and tags. So instead of receiving only the ids list, the SnipeIt extension will return transactions or validation errors.

If it returns an errror, append it to the list. If not, it's an array of transactions so add them to the results array to update the purchasing request.

Edited Jun 05, 2020 by Ana Rute Mendes
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: T21453