Missing_text_or_fallback_or_attachments
エラー内容は missingtextorfallbackorattachments などと書かれており、要するに出力データがないという意味だ。 これを回避するにはどうすればいいか。. 'missingtextorfallbackorattachments'의 에러는 이름 그대로 요청 데이터로 'text'가 없을 때 뜬다. 만약에 'test'라고 적으면 에러가 발생한다.text타입이 아닌 메시지를 보낼 땐 아직 테스트해보지 않았다. 複数チャンネル 着信webフック プライベートチャンネル webhook missingtextorfallbackorattachments mention incoming webhooks slack-api slack スラックwebhook htmlテーブル.
The data structure of messages received from our APIs will change with the launch of Block Kit early next year. In return you'll be able to add newer, clearer visual components to make your app's messages magnificent. Even if you aren't using it, your apps may be affected by the additions.
Hi all, is it possible to use Open Project webhooks with slack to be notified every time that an issue is created/updated?
I've tried to integrate it but it din't work for me.
Thanks,
M.
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10221,'subject':'Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10221/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10221/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10221'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Replies (9)
I would be interested in this as well.
Chris
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10285,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10285/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10285/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10285'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>With outgoing webhooks, you can define a target service that receives updates on items within OpenProject (work package creation and updates, currently). These requests are performed with a fixed payload, so hooking that to a Slack webhook endpoint would not be of much use since it needs to receive the request in a way they define in their incoming webhooks API.
It would be possible to alter the payload with an additional option in the webhook plugin not to print our own APIv3 responses, but a different kind of payload. This is however not possible at the moment.
Best,
Oliver
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10290,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10290/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10290/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10290'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi @Oliver Günther
What is the response time or the latency time of the web hook to trigger the third party app after the event?
It looks that it is taking 15 or more minutes for the web hook to update the third-party app.
Even we tried with https://webhook.site for checking and it is delivering as batch I believe.
Could you please put some light for us to understand this latency time of web hooks triggering?
Thanks
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11181,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11181/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11181/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11181'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Xavier,
webhooks for work packages are emitted after the aggregation period of default 5 minutes. Every change you make in the frontend is being recorded, but only emitted if you have not made any change in the next 5 minutes to it to allow one continuous batch update. If needed, we could allow an option to the webhook to output the raw changes as they are being made.
Best,
Oliver
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11182,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11182/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11182/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11182'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Oliver,
Thanks for the update regading Webhook function. Now we understand how it is working.
Instead of triggering the output the raw changes, can we reduce the timing to 1 minute or 2 minutes, or even giving the option to Administrator how it shall be triggered, that would be fine.
When there are several updates on work package is happening (while webhooks are integrated with slack or time tracking software to notify or create tasks there), it will bring delay at other end. To reduce this delay, your idea of sending output as raw changes or one minute delay is needed 'instead of five minutes'.
How can we set the option of sending raw output to webhook as changes made? Is this going to be a new amendment to add to OpenProject Webhooks? Please let me know.
Thanks
-Xavier
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11188,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11188/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11188/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11188'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi All,
Do you have any solution? It is really annoying that I cannot configure that parameter. 5 minutes is quite a long time.
Regards,
Szymon
I can not setup webhooks for slack integration on open project community 10.4.1. I receive 400 error with message: missing_text_or_fallback_or_attachments. Anyone successful with this setup?
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':12528,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12528/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12528/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12528'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi, we are also looking forward for a possible integration with slack webhooks, we've been testing this on OpenProject 10.6.2 with no success. Is it going to be supported soon ? is there any workaround ?
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':12571,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12571/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12571/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12571'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Tuan Anh Pham,
please find the OpenProject Slack Plugin and its documentation here: https://github.com/opf/openproject-slack#openproject-slack-plugin
You can also look at Slack's website for information: https://api.slack.com/messaging/webhooks
Please note that the Slack plugin is not officially supported.
Kind regards
Matthias
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':12613,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12613/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12613/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12613'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi all, is it possible to use Open Project webhooks with slack to be notified every time that an issue is created/updated?
I've tried to integrate it but it din't work for me.
Thanks,
M.
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10221,'subject':'Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10221/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10221/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10221'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Replies (9)
I would be interested in this as well.
Chris
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10285,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10285/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10285/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10285'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>With outgoing webhooks, you can define a target service that receives updates on items within OpenProject (work package creation and updates, currently). These requests are performed with a fixed payload, so hooking that to a Slack webhook endpoint would not be of much use since it needs to receive the request in a way they define in their incoming webhooks API.
It would be possible to alter the payload with an additional option in the webhook plugin not to print our own APIv3 responses, but a different kind of payload. This is however not possible at the moment.
Best,
Oliver
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':10290,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/10290/attachments'},'prepareAttachment':{'href':'/api/v3/posts/10290/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/10290'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Missing_text_or_fallback_or_attachments
Hi @Oliver Günther
What is the response time or the latency time of the web hook to trigger the third party app after the event?
It looks that it is taking 15 or more minutes for the web hook to update the third-party app.
Even we tried with https://webhook.site for checking and it is delivering as batch I believe.
Could you please put some light for us to understand this latency time of web hooks triggering?
Thanks
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11181,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11181/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11181/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11181'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Xavier,
webhooks for work packages are emitted after the aggregation period of default 5 minutes. Every change you make in the frontend is being recorded, but only emitted if you have not made any change in the next 5 minutes to it to allow one continuous batch update. If needed, we could allow an option to the webhook to output the raw changes as they are being made.
Best,
Oliver
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11182,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11182/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11182/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11182'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Oliver,
Thanks for the update regading Webhook function. Now we understand how it is working.
Instead of triggering the output the raw changes, can we reduce the timing to 1 minute or 2 minutes, or even giving the option to Administrator how it shall be triggered, that would be fine.
When there are several updates on work package is happening (while webhooks are integrated with slack or time tracking software to notify or create tasks there), it will bring delay at other end. To reduce this delay, your idea of sending output as raw changes or one minute delay is needed 'instead of five minutes'.
How can we set the option of sending raw output to webhook as changes made? Is this going to be a new amendment to add to OpenProject Webhooks? Please let me know.
Thanks
-Xavier
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':11188,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/11188/attachments'},'prepareAttachment':{'href':'/api/v3/posts/11188/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/11188'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi All,
Do you have any solution? It is really annoying that I cannot configure that parameter. 5 minutes is quite a long time.
Regards,
Szymon
I can not setup webhooks for slack integration on open project community 10.4.1. I receive 400 error with message: missing_text_or_fallback_or_attachments. Anyone successful with this setup?
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':12528,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12528/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12528/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12528'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi, we are also looking forward for a possible integration with slack webhooks, we've been testing this on OpenProject 10.6.2 with no success. Is it going to be supported soon ? is there any workaround ?
Building the best open source project collaboration software.'},'createdAt':'2012-09-21T13:37:39Z','updatedAt':'2021-04-19T10:26:48Z','status':null,'statusExplanation':{'format':'markdown','raw':null,'html':'},'_links':{'self':{'href':'/api/v3/projects/14','title':'OpenProject'},'workPackages':{'href':'/api/v3/projects/14/work_packages'},'categories':{'href':'/api/v3/projects/14/categories'},'versions':{'href':'/api/v3/projects/14/versions'},'types':{'href':'/api/v3/projects/14/types'},'schema':{'href':'/api/v3/projects/schema'},'customField105':{'href':null,'title':null},'parent':{'href':null,'title':null}}}},'_type':'Post','id':12571,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12571/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12571/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12571'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>Hi Tuan Anh Pham,
please find the OpenProject Slack Plugin and its documentation here: https://github.com/opf/openproject-slack#openproject-slack-plugin
You can also look at Slack's website for information: https://api.slack.com/messaging/webhooks
Please note that the Slack plugin is not officially supported.
Kind regards
Matthias