Giter Club home page Giter Club logo

Comments (3)

GaaraZhu avatar GaaraZhu commented on May 30, 2024 1

@RussellMaggs all supported mention approaches can be found here. I think by design outgoing webhook is limited only to receive and send messages which is not as complicated/powerful as bots, hence from the outgoing messages we won't be able to get any identity information like ID or UPN which we can use in a mention. Anyway I think I'll just close this issue for now, but thanks for the investigation:)

from bamboo-on-teams.

GaaraZhu avatar GaaraZhu commented on May 30, 2024

That's right @RussellMaggs , AdaptiveCard will be the one if we want to notify a user. But the thing is to be able to mention someone in an AdaptiveCard message, we have to provide the raw user id which is the staff email address in our case, but the one we have in the outgoing webhook request is the hashed one. I'll do more research to see how we can get around this issue, but feel free to ping me if you find something, thanks.

from bamboo-on-teams.

RussellMaggs avatar RussellMaggs commented on May 30, 2024

@GaaraZhu I did a quick check on my lunch break and your right the id we get from the outgoing webhook is not the id we would need to tag somebody.

I did find this thread where you can potentially do some API calls here to get the user id and then have a id like 8:orgid:{org-ID-of-the-user} but I think this solution would add significant complexity for such a small feature.

If you can't find any superior solution I am happy for you to close this issue and I will just create a private instance to side step the issue completely

from bamboo-on-teams.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.