每当我更新jira票证时,我都会尝试在freshdesk中创建票证。我为jira设置了一个webhook,并调用freshdesk API在那里添加了票证。我的问题是,当我更新ticket it jira时,它会触发我的webhook,并在freshdesk中创建一个ticket,但freshdesk再次将其发送回jira,它就像一个无限循环。
我试图从FreshDesk检索所有的门票,使用他们的API从一个SWIFT2.2程序()curl -v -u myEmail@example.com:myPassword -X GET'https://mydomain.freshdesk.com/api/v2/tickets'func getAllTickets() {
if le