Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

does anyone know if the app STAGIL Hide Comment for JIRA still works in jira data center 10

Vera_wyss
Contributor
March 25, 2025

Hi Community

does anyone know if the app STAGIL Hide Comment for JIRA still works in jira data center 10... in the update check of the apps it is shown as not compatible but i am not sure if this is really true. hope someone knows more :)

thanks for the help and have a nice day, Vera

2 answers

2 accepted

2 votes
Answer accepted
Sergei Troshin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2025

Hi @Vera_wyss hope you're doing well!

It seems that the STAGIL Hide Comment plugin is outdated. However, its functionality was simple, so we can easily reproduce it. Here are some alternatives:

1. ScriptRunner

This method works if you have the ScriptRunner plugin installed.

  • Create a Behaviour in ScriptRunner.

  • Select your project and issue type.

  • Configure it as follows:
    screen1.png

This setup hides the Comment field for the selected project and issue type in all actions (edit and transitions).

But! If you need to hide the field only on the edit screen, you’ll need some customization:

  • Create an initialize script and insert this code:

    String actionName = getActionName()

    if (Objects.isNull(actionName)) {
        getFieldById("comment").setHidden(true)
    }

    screen2.png

2. Built-in Jira Tools

This option is available out of the box, but it reduces instance security.

  1. Go to General Configuration and set "Enable HTML in field descriptions and list item values" to ON.
    screen3.png

  2. Create a custom field and name it HIDE COMMENT. The field type can be anything (e.g., Number Field).

  3. Add this code to the field description (replace customfield_10600 with your HIDE COMMENT customfield_id):

    <script type='text/javascript'>
        const divFormBody = $("div.form-body")
        const hideCommentField = divFormBody.find("#customfield_10600")

        if (hideCommentField.length) {
            // Hide comment
            hideCommentField.parent().siblings("div.comment-input").hide()
            // Hide technical 'HIDE COMMENT' field itself:
            hideCommentField.parent().hide()
        }
    </script>

    screen4.png

  4. Add the field to the desired screen and see the magic happen! 🙂

 

If you encounter any difficulties, feel free to ask me, and I'll do my best to help.

Vera_wyss
Contributor
March 25, 2025

Hi @Sergei Troshin 
thank you very much for your reply. As soon as we have done the update, I will test whether I can do it with your instructions and would be happy to contact you again if not.
Have a nice day,
Vera

Like • Sergei Troshin likes this
1 vote
Answer accepted
Marta Kravtsiv March 31, 2025

Hello Vera, 

STAGIL Hide Comment for Jira has been deprecated and is no longer supported. This means there will be no further development, compatibility testing, or bug fixes for this app.

However, you may consider the STAGIL Navigation for Jira app, as the 'Hide Comment' functionality has been migrated there: STAGIL Navigation for Jira. Please note that this is a paid alternative.

Regards, 
Marta

Suggest an answer

Log in or Sign up to answer