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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

46 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot