API: Add ticket tags without deleting existing ones

  • 18 November 2019
  • 0 replies
  • 46 views

 Hi,


If I understand your API docs correctly, the update ticket endpoint will accept a "tags" attribute but it will replace all tags the ticket has with the ones I send.


I'd like to add new tags without deleting the existing ones, and without having to send them in my request, as concurrency errors originating from multiple requests at the same time may result in tags being lost.


E.g.


Ticket has tags "hello" and "world".


If I do a PUT request with "tags": ["foo"], ticket will only have tag "foo" from there on, deleting tags "hello" and "world".


That's not what I want, I just want the tag "foo" added to the list, so the ticket has the tags "hello", "world" and "foo".


Is there a way for me to accomplish this?


This topic has been closed for comments