federatedbookkeeping / task-tracking

This repo contains the artefacts tracking work done on the Federated Task-Tracking project, funded by NLnet and the NGI Assure Programme.
MIT License
5 stars 2 forks source link

issue-create webhook from tracker 3 not processed correctly #40

Open michielbdejong opened 4 months ago

michielbdejong commented 4 months ago

BridgeBot logs this:

processing /tiki/tiki/item/create POST {"x-real-ip":"51.159.210.42","x-forwarded-server":"5d04b56bed37","x-forwarded-proto":"https","x-forwarded-port":"443","x-forwarded-host":"quick-wolves-rescue.loca.lt","x-forwarded-for":"51.159.210.42","content-type":"application/x-www-form-urlencoded","accept-encoding":"gzip, deflate","accept":"application/json","content-length":"203","user-agent":"Laminas_Http_Client","host":"quick-wolves-rescue.loca.lt","connection":"close"}
awaiting sync promises from webhook, start
awaiting sync promises from webhook, done

But no issue shows up in any of the other three trackers

michielbdejong commented 4 months ago

error while processing webhook!
undefined:1
Summary=newer+issue+in+tracker+4&Description=body&Priority=&Files=&Job=job&Assigned+To=&Assigned+By=&Related=&URI=URL
^

SyntaxError: Unexpected token 'S', "Summary=ne"... is not valid JSON
michielbdejong commented 4 months ago

hm, it still doesn't seem to work:

processing /tiki/tiki/item/create POST {"x-real-ip":"51.159.210.42","x-forwarded-server":"5d04b56bed37","x-forwarded-proto":"https","x-forwarded-port":"443","x-forwarded-host":"quick-wolves-rescue.loca.lt","x-forwarded-for":"51.159.210.42","content-type":"application/json","accept-encoding":"gzip, deflate","accept":"application/json","content-length":"221","user-agent":"Laminas_Http_Client","host":"quick-wolves-rescue.loca.lt","connection":"close"}
Body {
  "Summary": "in tracker 3",
  "Description": "",
  "Priority": "",
  "Files": "",
  "Job": "log it",
  "Assigned To": "",
  "Assigned By": "michielbdejong",
  "Related": "",
  "URI": "https://timesheet.dev4.evoludata.com/api/trackers/3/items/827"
}
awaiting sync promises from webhook, start
awaiting sync promises from webhook, done