Forums/Getting Started with MyDock/Triggers

Basecamp Trigger - Project Room

Mark Snoeijen
posted this on September 01, 2011 12:15

With a Basecamp target, a Basecamp Project Room is added to your catalog. With the corresponding Basecamp trigger, the Project Room requests will be automatically provisioned in your Basecamp account, according to the project name entered by the requester.

Structure of the Trigger

Below, an example of a fully entered Basecamp trigger. The current Basecamp API does not support automatic categorization of a project room to the chosen company yet. Hence, project rooms will be created within your primary Basecamp company

Adding a “create new ticket” or “send email” action to the trigger will inform you (as IT-expert, IT-admin, or Site Admin) of the company the project room should be transferred to within your Basecamp account.

Create:

  • Enter a name for the new trigger.
  • Set Objective to “Configuration item”.
  • Set Type to “Create”.

Conditions:

  • Add an All Condition: “{{context.catalogitem.name}} is equal to Basecamp Project Room”.
  • Add an All Condition: “status is equal to approved”.

Actions:

  • First action: Select “Basecamp” Target and “Create a new project room” Action and click +.
  • Second Action: Select “Zendesk”, “Default mailer”, “Default Postmark mailer” or “Postmark” Target (depending on preference to inform via tickets or via emails). Select the “Create new ticket” or “Send message to specific role” Action and click +. Enter:

◦                   Subject

◦                   Description (in case you require to be informed to which company the room has to be transferred to, include:) 


{% for entry in obj.display_configuration %}


{{entry.name}}:{{entry.value}}


{% endfor %}

◦                   Requester: {{obj.owner.email}}

  • Third Action: Select “Default DB target” Target and “Update object” and click +.

◦                   Perform update on : “Primary Object”.

◦                   No entry to be made in Annotation key and name.

◦                   Attribute: Name = “status”, Value = “Delivered”.

13.jpg