Set queue as From in Quick campaign in Dynamics online - sdk

I am trying to create a new quick campaign in dynamics online. But I am not able to set the From-property to a Queue. In the documentation it does not seem to be possible neither (https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/entities/bulkoperation?view=op-9-1#BKMK_from)
According to documentation it only targets these entities.
Targets: account,contact,systemuser
Is there a property I am missing? Or do I need to find a way around this?

Related

Creating issues with the JIRA API for specific users with assigned permissions to view

I am new to JIRA API automation and would like to know how I could use the JIRA API to create an issue for specific user who have restricted permissions to view - the API to be used is as follows -https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
Thanks,
Best Regards,
Nuzhi
I tried going through the API documentation but could not find any particular detailed documentation with regards to the use case.

Is there a definitive list of properties that can be updated using the JS SDK?

After reading through the docs for the REST API and the JS SDK, as well as the class definitions for the newer partially complete lib on GitHub, I've been unable to find a definitive list of properties that can be updated via the JS SDK when using the .update() method. The only two shown are ActivitySid and FriendlyName - and the other docs have different casing on these properties. I thought casing might not be important, but the source for the JSSDK shows ActivitySid. Can someone please point me in the direction of what properties are actually available with the JSSDK? I'm assuming the best bet is that they match the properties listed here if someone could confirm?
Note: If you're from Twilio and see this, I'd be happy to open a PR with documentation corrections if it's possible. Otherwise, in the description of update() below - ActiveSid isn't a thing and it'd be helpful to see a list of properties for methods or at least a link to them.
Updates properties of a Worker. There are properties of a Worker, such as ActiveSid, FriendlyName, etc.
Thanks!

Rally SDK 2 - Given a story A and a story B, how can I say that B is a successor of A thanks to Javascript API?

I'm using the Rally SDK 2 to manipulate user stories from Javascript in a "Custom HTML" application.
I can query a story and retrieve its attributes.
I can update some of the attributes, like the Name of the Iteration for instance.
How can I add a successor to my story?
If I understand well, I should edit the "/HierarchicalRequirement/.../Successors" of my story, but I don't understand how to do that.
Would someone have an example, please?
Unfortunately, I don't have an exact example you can use, but the successors (or predecessors) are 'collections'. As such, you need to 'add' to the collection. There is an explanation of some of this here: https://docs.ca.com/ca-agile-central/saas/apps/2.1/doc/#!/guide/collections_in_v2
Built into the model for the artefact are routines to handle all the details. If you want more details, then you can download the sdk-debug.js file from the Rally server. To get to it, open up the developer tools in your browser and have a look where a custom app would get the sdk.js file from. The debug variant is formatted for humans to read and a very useful source of how to do things at the low levels. The definition of Rally.data.wsapi.ModelFactory has some good tips.
One of the recommendations I make to people starting out writing custom apps, is to use the developer tools in the browser to watch the network traffic that the Rally UI makes - and then work backwards to code.

Webhooks triggered by Google Assistant

I noticed that IFTTT.com is using a Google Assistant integration that allows them, basically, to set up for each of their users some kind of "trigger words" that trigger a call to a webhook. I searched a lot in the API docs and found no proper way to do the same, only ways to set up conversations or IoT interactions.
I kind of want to build something similar to the IFTTT integration with a way to programmatically set up actions via an API (not via the dashboard).
Is it possible to do or is this just a custom development Google made for IFTTT?
In my researches I found out about something called "Direct actions" but it does not seem to exist anymore in the Google Assistant Doc. Can you help me with that?
I don't know if my questions are very clear, please tell me if they are not
Thanks in advance for your help
Have a good day
Here's similar options to the IFTTT integration:
Create routines in the Google Home app. That will allow you to create custom commands that activate one or several actions.
Create a smart home action. It's a type of direct action, as opposed to a conversational action, and will let you directly invoke the Assistant for a subset of commands.
You could also create a conversational action. While it would not give you the same direct control, you can still run actions quickly by doing a deeper invocation, ie. "Ask my test app to do an action". It would also give you much greater flexibility over the input.

How to programmatically get method level history from TFS API?

I am trying to find out method level history from TFS. I am able to get the history (associated work items and changesets) for an item, but unable to do the same at method level. The intent is to find the work items and changesets linked with a method in class. Any pointers to accomplish this would be highly helpful.
This is implemented in the CodeLens API's which are not exposed publicly. Source control in itself doesn't have a semantic concept of the contents of the file. The Code Lens API uses Roslyn to parse the files and uses clever heuristics to link different versions of the same method to each other.
Given that CodeLens API's aren't available for public use, TFS doesn't have anything that will help you accomplish this, without re-building the heuristic+semantic processing that CodeLens provides.

Resources