Limiting Agent ability to respond to customer based on Issue Status

I am using Service Desk and have a concern about Agents creating internal comments or responses but then clicking the button or tab to send the response to the customer by mistake.  I would like to be able to only allow the customer response button or tab to appear when in a specfic status.  I have dug into the file and found areas where this can be done but am unable to pull the issue status in to run against the IF statement.

The has 2 conditions that need to be meet before the External (customer) options are available:

{template .drawCommentTabs}<ul id="sd-comment-tabs" class="tabs horizontal">
<li class="js-sd-external-comment

{if $isExternalMode}active{else}inactive{/if} {if not $isAgent}disabled{/if}">
<li class="js-sd-internal-comment {if not $isExternalMode}active{else}inactive{/if}">


 {template .drawCommentButtons}
<div class="sd-comment-buttons">
{if $shouldUseButtons}
{call .drawCommentSubmitButtons data="all" /}
{call .drawCommentSubmitButton data="all" /}
</div> {/template}

* Draws the submit button that is relevant to this form
* @param modifierKey
* @param isExternalMode
*/ {template .drawCommentSubmitButton}
{call ServiceDesk.Templates.Shared.Form.submitButtons}
{param submitExtraClasses}
{if $isExternalMode}sd-external-submit

{param submitButtonLabel}
{if $isExternalMode}{getText('')}{else} {getText('')} {/if} {/param} {param modifierKey: $modifierKey /} {/call} {/template}


I would like to add a condition for status="Waiting for Customer" or "Final Resolution".  Any suggestions?

1 answer

This widget could not be displayed.
Ivan Tovbin Community Champion Jan 07, 2018

Check out this nifty little trick.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
Join discussion

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