Can I configure the "None of these is what I need" link in Service Desk?

Now the link simply removes all the suggestions. We'd like it to direct users to something where they can make a new ticket.

1 answer

we attempted to modify the template:

servicedesk/internal-api/core/feature/smartsearch/result/cv-smart-portal-search-results-view.soy

from

servicedesk-core-ui-plugin-3.2.0-139.jar

but it's not affecting what i expected, e.g. our "test" class isn't on this element:

 

 

{namespace ServiceDesk.Templates.Shared.Components.Search}

/**
 * @param hasMoreThanOneResult Whether there are more than one result
 */
{template .searchResultsFooter}
    <div class="cv-smart-portal-nav-bottom test">
        {call aui.buttons.button}
            {param text}
                {if $hasMoreThanOneResult}
                    {getTextAsHtml('sd.customerview.smart.portal.none.helped')}
                {else}
                    {getTextAsHtml('sd.customerview.smart.portal.none.helped.singular')}
                {/if}
            {/param}
            {param type: 'link' /}
            {param extraClasses: 'js-cv-view-portals' /}
        {/call}
    </div>



{/template}

/**
 * A spinner with customizable size
 *
 * @param size the size of the spinner, available options are "small", "medium", "large" and "xlarge".
 */
{template .spinner}
    <div class="cv-smart-portal-spinner-container">
        <span class="sd-spinner-{$size}"></span>
    </div>
{/template}

 

We also thought we might be able to use a plugin to inject javascript, but this issue seems to suggest that is not possible. https://jira.atlassian.com/browse/JSDSERVER-1938 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

793 views 5 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you