Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Remove swimlane messages from webhooks?

Scheduled Pinned Locked Moved Wekan
7 Posts 2 Posters 255 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by
    #1

    From this post:
    https://github.com/wekan/wekan/issues/3297#issuecomment-709669948

    It sounds like I should be able to edit out 'swimlaneId' in some environment somewhere to stop:

    at swimlane "Default"

    Appearing in Webhook message like this one:

    label_label.png

    Anyone know how I might do that?

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #2

    @jdaviescoates Did I understand correctly that you want to remove the swimlane "Default" in the webhook message? Where is that second screenshot from? Is that Rocket.Chat or Slack or something?

    If you want to disable swimlanes entirely, it looks like that is not implemented yet, as Lauri said - https://github.com/wekan/wekan/issues/2107.

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #3

    @girish said in Remove swimlane messages from webhooks?:

    Did I understand correctly that you want to remove the swimlane "Default" in the webhook message?

    Yes, exactly.

    @girish said in Remove swimlane messages from webhooks?:

    Where is that second screenshot from? Is that Rocket.Chat or Slack or something?

    Yes, it's from Rocket.Chat

    I use Cloudron with Gandi & Hetzner

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by girish
    #4

    @jdaviescoates Do you have the Rocket.Chat script for the webhook ?

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #5

    @girish I can't actually remember exactly how I did it!

    I've been meaning to document it for others and so I remember for next time I need to do it 🙂

    But I think I just pasted a url from WeKan into Rocket.Chat.

    I use Cloudron with Gandi & Hetzner

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to jdaviescoates on last edited by
    #6

    Looks like it was the other way around.

    1. In Rocket.Chat create a new user who will post (in this case I created a user called WeKan)
    2. go to Integrations, Incoming + New
    3. Name it (optional - I called mine WeKan)
    4. Choose which channel it posts to
    5. Choose which account posts (in my case the new user created in 1 above)
    6. Hit save
    7. Copy the Webhook URL and Token
    8. Go to WeKan > Board Setting > Outgoing Webhooks
    9. Give it a name (I went for Rocket.Chat)
    10. Paste in URL and Token from step 7
    11. Choose Outgoing Webhooks from dropdown
    12. Hit Save.

    That's it.

    In the Incoming Webhooks settings in Rocket.Chat there is an option to enable a script and a box to paste script in, but I don't currently have that enabled:

    rocket.chat_incoming_webhook_script.png

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #7

    Got it. It seems the swimlane is hard coded - https://github.com/wekan/wekan/blob/e9d27c521e2aced2232fbbb30af32b0c12ed6148/i18n/en.i18n.json#L10 I guess that is what Lauri was trying to say. I guess Wekan code has to have an option to remove it/make it optional.

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.