It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Not able to remove comment from transition screen in JIRA cloud JIRA

On a particular transaction in a workflow, a screen will be poped up to the user and user is expected to fill few fileds on the screen but along with those fields even cooments is also getting added to the screen. So, I had inserted below code in the descrition of one of the fields, t worked in the server version of JIRA but the samething is not working in cloud instance.  And top of it, the script is also getting displayed in the scree below that field.

Could someone please help e on this on how to achieve this in cloud instance.

 

Below is the code used:

<script type="text/javascript">

if(AJS.$('#issue-workflow-transition-submit').val() =='Verify Trainings'){

AJS.$('div.comment-input').css('display', 'none');

}

</script>

1 answer

0 votes

You can restrict comments via project properties in that status, but I don't find any reason to forbid comments in a transition if they are optional

Thank you for your response.

As we are capturing comments already in another custom filed, we would like to get rid of this redundant field. So, simply I just dont want that filed to be shown on the screen.

 

Which property I can use? And can the property hide the comment field on the screen

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

842 views 5 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you