Missing_text_or_fallback_or_attachments



  1. エラー内容は missingtextorfallbackorattachments などと書かれており、要するに出力データがないという意味だ。 これを回避するにはどうすればいいか。.
  2. Missingtextorfallbackorattachments (1) 着信webフック プライベートチャンネル webhooks webhook web slack python missingtextorfallbackorattachments mention incoming.

Fire a Slack Notification via CURL. GitHub Gist: instantly share code, notes, and snippets.

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)

Missing_text_or_fallback_or_attachments

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.

Slack

Could you please put some light for us to understand this latency time of web hooks triggering?

Missing_text_or_fallback_or_attachments slack

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

Missing_text_or_fallback_or_attachmentsBuilding 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.

Download unarchiver application for mac. 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

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':12339,'subject':'RE: Using webhooks with Slack','_links':{'attachments':{'href':'/api/v3/posts/12339/attachments'},'prepareAttachment':{'href':'/api/v3/posts/12339/attachments/prepare','method':'post'},'self':{'href':'/api/v3/posts/12339'},'project':{'href':'/api/v3/projects/14','title':'OpenProject'}}}'>

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'}}}'>

Missing_text_or_fallback_or_attachments

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. Shooting games to download for mac.

Kind regards

Missing_text_or_fallback_or_attachments Slack

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'}}}'>

Slack Notification to Private Channels

Describe your question in as much detail as possible:

I have followed the steps listed below, but want to make sure the documentation is up to date: Does the Slack notification integration still not work to private channels? Nike plus connect software download for mac.

  • What are you seeing, and how does it differ from what you expect to see?

    • When testing the new integration with Webhook, the test results in response: Hook executed successfully but returned HTTP 400 missing_text_or_fallback_or_attachments
  • Consider including screenshots, error messages, and/or other helpful visuals

  • What version are you on (Hint: /help) ? and are you using self-managed or gitlab.com?

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?