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

0 vote
Ivan Tovbin Community Champion Jan 07, 2018

Check out this nifty little trick.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
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
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