You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I have been tasked with creating a behaviour that sets some fields with hardcoded values when creating a new issue in a specific proyect.
The behaviour is working correctly, however when editing an already existing issue a warning popup appears with the text:
These fields have default values for this project and issue type combination. We have preserved the existing values in case you need them.
I am being asked to remove this popup. I understand why it appears but my organization does not want it appearing. How can I achieve this?
Thank you.
Regards.
Hi @Daniel R_
If you want to disable the warning message manually, you need to use the Announcement Banner.
Below is the code that can be used to hide the warning dialog:-
<style type="text/css"> #aui-flag-container { display: none; } #announcement-banner { display: none; } </style>
Below is a print screen of the Announcement Banner configuration:-
I hope this helps to answer your question. :)
Thank you and Kind regards,
Ram
Hi,
thanks this worked perfectly. One question though, will this disable the announcement banner completely? And if so, which other messages do usually appear in this banner?
Thank you.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Daniel R_
Yes, it will disable the announcement banner completely to answer your question.
The usual type of messages that will appear are system error messages. For example, if you have issues with your database or some fault is detected in your instance.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ram Kumar Aravindakshan _Adaptavist_ What else will be disabled by blocking anything in aui-flag-container? Are there other important items that may show up here that will be squashed as well?
There really should be a way to toggle scriptrunner creating these pop-ups rather than stomping the container system-wide. This will end up causing far more confusion for our users than it resolves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.