Feedbacks

get Feedbacks on their Features via AJIR API or directly. Bug, feature request or help tickets are all different Feedbacks.

Feedbacks are created by your products code and assigned to Features, thanks to an easy to use API. It allows your to monitor user feedbacks, bugs and feature requests.

You can create Feedback origins at the Feature level, in order to automatically match Feedbacks to Features with less boilerplate code.

Example in Django Python with a custom 500 handler method:

# store your AJIR token in an environment variable and fetch it in the settings
headers = {
    "Authorization": settings.AJIR_API_KEY,
}

def custom_server_error(request):
    # get named url from path info
    origin_app = resolve(request.path_info).app_name
    origin_url = resolve(request.path_info).url_name
    origin = f"{origin_app}:{origin_url}"
    # get host from absolute Url
    url = request.build_absolute_uri()
    host = request.get_host()
    if host == 'www.prod.com':
        environment = 'prod'
    else:
        environment = 'test'
    
    # POST to the AJIR API with the named Url as origin
    # If this origin has been added to a AJIR Feature, 
    # it will be automatically linked to it. 
    # If not, it will fallback to the feature
    requests.post(
        "https://app.ajir.app/api/feedbacks/",
        headers=headers,
        data={
            "feature": <your fallback feature id>,
            "origin": origin,
            "text": origin,
            "user_id": str(request.user.id),
            "user_email": request.user.email,
            "url": url,
            "feedback_type": "bug",
            'environment': environment,
        },
    )
    return server_error(request)

Help desk

With the same simple API, you can manage your Help desk from AJIR.

When POSTing to AJIR API, just change the feedback_type to 'bug', and ideally fill in the user_email field so you can interact with the user in need of help.

For example, if you create a Task from a Feedback with a user_email, the user will be notified that you took his pain seriously !

If a help desk email is configured for your company, automatic emails will be sent from this email, so that the user can directly answer and interact with your support (company settings available on the home page if you are a superuser for your company).

User feedback and feature request

You can also build a front-end feature to collect feedbacks from your users and send them directly to AJIR via the API, changing the feedback_type to 'feedback' (the default) or 'feature'.