Hi Pritesh,
As far as I'm aware, there isn't a REST API endpoint for the announcement banner. The values are saved in the database but we don't recommend making changes in the database while Jira is running.
A previous question explored setting some other properties like the header color and application title. If the reason you need to set the Announcement Banner is because you're setting up a test environment, you can achieve similar results by setting some of these other colors!
We have a knowledgebase article for removing the announcement banner with SQL as well. To change what's in the banner, just modify those values instead of deleting them. However, as I mentioned before, we don't recommend making changes to the database while Jira is running.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.