Im trying to build custom context menu for slack. But, the Slack API page doesn't contain any information about customizing user interface.
Currently Slack displays only 2 options:
Is it a known restriction? If not can anyone please let me know where to start to build the custom context menu for Slack windows client?
No, that is not something you can do to my knowledge. Slack is made to run on many different platform incl. mobiles, so I would not expect them to ever provide this feature.
Related
I’m trying to integrate a third-party tool with Jira server via REST API.
Currently we have a customized Jira used by our client with a business specific issue types.
Basically all I need is to be able to create an issue of a given type, get response (success/error) and get metadata (list of required and optional fields) for that tool via REST API.
We have a create issue page on WebUI, where user can submit his request.
But the problem is all validation logic is “smashed” between some Javascript code, Behaviours and SIL Programs Manager add-ons, AJS scripts, Jira native fields configuration etc.
So I can’t use “plain” Jira REST API directly because it creates issues without taking in account business rules of a given issue type - e.g. requires fields, one fields can have values depending on another field’s value, an attachment is a required as part of an issue etc.
My question is what is the best way to make an integration with Jira.
I want to be sure if someone will try to create an issue via REST API, the data is consistent according to the issue business rules.
I was thinking to write some "proxy" REST API, which will do the all validation needed and create (or edit) / reject the request.
We've developed a separate Jira plugin which serves some scenarios. So, I can add those API to the plugin.
Or, use Jira REST API endpoints like POST /issue (and PUT /issue/), and I have to define a new screen for it, set all required fields via standard Jira settings, set Cascading fields rules and the standard validator will check if everything is ok out-of-the box?
Sorry, I’m new to Jira and not sure if my current understanding is correct now.
Thanks
Tricky. Best to validate the data in a single place (with one set of code) before calling the create REST API. That way you can also modify the validation logic more easily over time. I think I would probably define a new REST endpoint. ScriptRunner lets you script that nowadays
In webhooks from Dialogflow, is there a way to trigger Google Assistant APIs, get back the result and display in Dialogflow?
Thanks.
Short answer: no. The Assistant API currently only takes voice input, and there is no way to get the user's voice in Dialogflow. In theory, you could run it through a TTS, feed that to the API, get the response back, and feed that through STT, but that seems like a pain.
What are you actually trying to do?
Google Assistant webhook will not make your bot more intelligent. You need to create right intents in your Dialogflow Agent to make it intelligent enough to do Natural Language Processing and trigger the right intent. Whatever webhook you create (Google Assistant or other) they will just work as you have coded.
In short, Dialogflow is doing the NLP stuff and making your bot intelligent and webhook will do tasks based on the identified intent or action.
To integrate GA with Dialogflow, best way would be to use NodeJS client for Action-on-Google and add it to your webhook project like require('actions-on-google').DialogflowApp
Follow the documentation and understand how to create a GA webhook for Dialogflow.
It would be better if you can explain exactly what you want to do. That way, the community members can answer your question in a better way.
We use Slack and JIRA, and the Slack connector to push JIRA updates into a #jira-updates Slack channel.
I'm wondering if anyone knows if the connector (or another tool) can post updates to Slack as a direct message to the watcher list for an issue? It owuld be really good if my DM feed had updates from JIRA which were applicable to me, rather than having to trawl the whole channel looking for my name.
Any ideas?
Where do the Slack default avatars come from? Is it their own service or a 3rd party one?
In either case, is there a possibility for others to use the avatar creation service / system e.g. via the slack API?
I asked Slack directly, and they don't currently offer this in their API:
We don't have an API method or service for it, so there isn't a way to do this, sorry!
They've heard the suggestion, though.
I want to insert a link in the image upload page in the D2L LMS which allows the user to upload an image from our Gravatar service. I understand I can do it through the valence content API but just as we can put in links in the insert stuff sidebar, can we also wrap an LTI link into a link on the image upload page?
Thanks!
The Remote Plugin Service builds on LTI to let you integrate with D2L's LMS in more "native user interaction" kinds of ways. The "Insert Stuff" framework is one of these, as you've recognized. While D2L does intend to offer more Remote Plugin configuration types in the future, currently there is no configuration type for integration with the image upload interaction point. This is, however, a good idea; I'd encourage you to suggest it on the Product Ideas Exchange in the D2L Community site, or make a request for this enhancement through your account or partner manager at D2L.
There is sample code for creating a remote plugin that allows you to insert images using the Insert Stuff Framework, which was introduced in the following blog post: http://devs.valence.desire2learn.com/2013/11/11/making-development-easier-with-the-remote-plugins-test-service/. This sample uses LTI and the Valence Learning Framework APIs to insert images.