Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,123
Community Members
 
Community Events
176
Community Groups

Disable Scriptrunner default values changed warning

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.

1 answer

1 accepted

1 vote
Answer accepted

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:-

announcement_banner_config.png

 

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.

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

@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.

Suggest an answer

Log in or Sign up to answer