Forums

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

Jira Banner Using Fragment

Ashish K October 25, 2022

Hi Team,

 

I have created a script runner fragment for the announcement.

Below is the script. How can I dismiss this dialog?

Is there anything I can add to this script to create dismiss button?

 

writer.write ("""
    <div style= "background-color: red; color: white; font-size: 15px; font-weight: bold; text-align: center">
        <p>Jira will not be available</p>
    </div>
""")
TIA!

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
November 7, 2022

Hi @Ashish K

Could you please provide a screenshot of the dialog that you are encountering?

Thank you and Kind regards,

Ram

Ashish K November 9, 2022

Hi @Ram Kumar Aravindakshan _Adaptavist_ 

Thank you for your reply, I'm trying to add a hide or close button to the announcement.

Can you help me with this?

Ram Kumar Aravindakshan _Adaptavist_
Community Champion
November 10, 2022

Hi @Ashish K

As requested in my previous comment, could you please share a screenshot so I can get a better understanding of your configuration?

Thank you and Kind regards,

Ram

Ashish K November 16, 2022

@Ram Kumar Aravindakshan _Adaptavist_Please see this, let me know if you need anything else.

 

Snag_ba3426.png

SKAdmin
Contributor
August 17, 2023

@Ram Kumar Aravindakshan _Adaptavist_ 

Is it possible to add a hide or close function to the fragment so the users can close out the banner once read. In the announcement banner we use <div class="aui-message closeable">...</div> <div class="aui-message aui-remove-on-hide">...</div>. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.8.1
TAGS
AUG Leaders

Atlassian Community Events