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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Remove swimlane messages from webhooks?

    Wekan
    2
    7
    234
    Loading More Posts
    • 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.
    • jdaviescoates
      jdaviescoates last edited by

      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 Reply Quote 0
      • girish
        girish Staff last edited by

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

        jdaviescoates 1 Reply Last reply Reply Quote 0
        • jdaviescoates
          jdaviescoates @girish last edited by

          @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

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @jdaviescoates last edited by girish

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

            jdaviescoates 1 Reply Last reply Reply Quote 0
            • jdaviescoates
              jdaviescoates @girish last edited by

              @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

              jdaviescoates 1 Reply Last reply Reply Quote 0
              • jdaviescoates
                jdaviescoates @jdaviescoates last edited by

                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 Reply Quote 0
                • girish
                  girish Staff last edited by

                  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 Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB