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
Community showcase
Published Aug 13, 2018 in Jira Service Desk

Jira Service Desk – Don’t be afraid, the journey begins with curiosity!

...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...

17,400 views 13 31
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