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 votes
Ivan Tovbin Community Champion Jan 07, 2018

Check out this nifty little trick.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 16 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

151 views 0 0
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