Hi All,
I have a webhook where the response looks like this:
Server: Cowboy
Connection: keep-alive
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 840
Etag: W/"348-qils9kmjfpDlW5Fe4q6CjV79eV0"
Date: Wed, 17 Aug 2022 05:57:39 GMT
Via: 1.1 vegur
{ "quote": "Hi Holly, it's Michael. I just wanted to call and let you know that I was thinking about what you said, it's just... you know? It's weird, today I ended up seeing a lot of the women that I used to date, and in my mind they were all great, and then when I actually saw them it was mostly a freak show. And you and me, that must've been a real train wreck. You know what? Holly, you're wrong. You are wrong. I remember every second of us, and talking to you today, I-don't-feel for them anything like what I feel for you. It's... I didn't joke with any of them, I joked with you, you were the only one who was actually happy to hear from me, and I don't know why you downgraded what we had, but I did not make us up. Ok. Oh, and you might... you should talk to a doctor because you might have herpes. Bye!", "author": "Michael Scott" }
When i try to use the value i get the following error:
Mismatched start/end tags: null != in template-56e46fb9-fc6c-4fab-9d0d-e6200824a047:3:
This is what i try to do with the value:
Hey Team !
{{webhookResponse.body/quote}}
{{/}}{{/}}
With that being said! Here are our stories in the current sprint:
>*To do:*
{{#lookupIssues}}{{#if(equals(status.name, "To Do"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*In Progress:*
{{#lookupIssues}}{{#if(equals(status.name, "In Progress"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*Code Review:*
{{#lookupIssues}}{{#if(equals(status.name, "Code Review"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*Ready for Deployment to test:*
{{#lookupIssues}}{{#if(equals(status.name, "Ready for Deployment to test"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*Test:*
{{#lookupIssues}}{{#if(equals(status.name, "Test"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*Ready for Deployment:*
{{#lookupIssues}}{{#if(equals(status.name, "Ready for Deployment"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
>*Done:*
{{#lookupIssues}}{{#if(equals(status.name, "Done"))}}
* <{{url}}|{{key}}>| {{summary}}
{{/}}{{/}}
Can anyone tell what i'm doing wrong? I already found this issue but i don't know if that is related. https://community.atlassian.com/t5/Jira-questions/webhookResponse-body-foo-smart-value-is-flat-out-not-working/qaq-p/1381124
I do have the same problem that you comment. Hope someone can answer this question!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.