Giter Club home page Giter Club logo

url_builder_app's Introduction

License Build Status Maintainability Test Coverage Contributor Covenant

URL Builder App V2

Description:

A Zendesk App to help you generate links for agents.

Changes from V1 to V2

We've included some helpful information about what has changed in the V2 of this app in our Wiki

Usage Instructions:

  1. Navigate to the Zendesk Marketplace and find "URL Builder App V2".
  2. Click "Install".
  3. Similarly, you can reach this screen by going to your installed apps, and clicking "Change Settings".

change-settings

  1. Select your account to install the app.
  2. Confirm the title; this will display in the URL Builder App box above the links:

installation-title

  1. The second box is for the URLS, and uses an array of JSON, described below. In this example, note we are using a placeholder {{ticket.requester.id}}.

json-array-of-urls

  1. Optionally enable role restrictions if these URLs are not appropriate for all agents.
  2. Once your JSON is in place, click Install.
  3. Open a new browser to test your results.

links

If we highlight the User Info link, we see the placeholder ticket.requester.id has been replaced with ticket requester's ID of 377511204654.

example-url

JSON Array of URLs:

The following is an example of what can be entered into this app's settings:

[
  {
    "title": "First Title",
    "url": "http://example.com/?name={{ticket.requester.name}}"
  },
  {
    "title": "Second Title (with custom field)",
    "url": "http://example.com/?custom={{ticket.custom_field_424242}}"
  }
]

This example will generate the following HTML inside the app:

<ul>
  <li>
    <a href="http://example.com/?name=Robert C.Martin">First Title</a>
  </li>
  <li>
    <a href="http://example.com/?custom=secretRocketLaunchCodes">Second Title (with custom field)</a>
  </li>
</ul>

Available Placeholders

  • {{ticket.id}} //not available for new tickets
  • {{ticket.description}}
  • {{ticket.requester.id}}
  • {{ticket.requester.name}}
  • {{ticket.requester.email}}
  • {{ticket.requester.externalId}}
  • {{ticket.requester.firstName}}
  • {{ticket.requester.lastName}}
  • {{ticket.requester.user_fields.YYY}} = custom user fields can be used
  • {{ticket.assignee.user.id}}
  • {{ticket.assignee.user.name}}
  • {{ticket.assignee.user.email}}
  • {{ticket.assignee.user.externalId}}
  • {{ticket.assignee.user.firstName}}
  • {{ticket.assignee.user.lastName}}
  • {{ticket.assignee.group.id}}
  • {{ticket.assignee.group.name}}
  • {{ticket.custom_field_XXXXXXX}} // XXXXXXX = custom field id
  • {{ticket.organization.organization_fields.XXXXXXX}} // XXXXXXX = Field key, default is field name
  • {{currentUser.id}}
  • {{currentUser.name}}
  • {{currentUser.email}}
  • {{currentUser.externalId}}
  • {{currentUser.firstName}}
  • {{currentUser.lastName}}

Issues

To submit an issue, please follow the available template.

Contribution

Improvements are always welcome. To contribute, please submit detailed Pull Requests following the guidelines.

url_builder_app's People

Contributors

jamborjan avatar jstjoe avatar luizfaias avatar maximeprades avatar mrosendin avatar physik932 avatar pi3r avatar pmgrove avatar roseleaf avatar svizzari avatar yesthatallen avatar

Watchers

 avatar

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.