none
Develop Office Add-in to connect outlook to VSTS RRS feed

  • Question

  • Hello there,

    I have an strange requirement. i want to develop an office Add-in for O365 where i can connect Outlook with VSTS.

    whenever i get a mail with some bullet points, on click of the Add-in on outlook, details to be published to VSTS as User Stories. any idea is welcome.


    Cheers, San

    Wednesday, March 22, 2017 8:41 AM

All replies

  • Hello San,

    >>whenever i get a mail with some bullet points, on click of the Add-in on outlook

    Unfortunately, Office Add-ins (using Office JavaScript API) don't provide any event when mail arrives. I suggest you use VSTO add-ins and then you could handle Application.NewMail Event or Application.NewMailEx Event .

    About the issues about using VSTS API, I suggest you post on VSTS forum.

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 23, 2017 10:28 AM
    Moderator
  • Hi San,

    You can create a contextual add-in which uses a regex expression so it only shows up when it finds certain text - or in your case a bullet point... or you can just let your user only click when he/she wants to link the mail to VSTS.

    https://dev.office.com/docs/add-ins/outlook/contextual-outlook-add-ins

    An add-in will let you get the contents of the current message.

    VSTS has an API (I am not familiar with it) but hopefully it will let you post the message contents to the correct location.

    https://www.visualstudio.com/en-us/docs/integrate/api/overview

    Does that move you forward at all?

    Friday, March 24, 2017 2:47 PM