Forums

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

Alternatives to javascript in announcement banner

Francesco R
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 15, 2023

Hi all.

I'm going to update my Jira Server 8.20.1 to the last available Jira server version (actually 9.4.3) but the javascript code I had in the announcement banner doesn't work anymore.
I need to have some (not all) workflow transitions pages displayed at full page on the browser and not on a popup, since in some transition pages a datatable is shown.
I did this with these kind of javascript code in the banner:


$("#action_id_551").removeClass("issueaction-workflow-transition");


that removes the class that originates the popup so that the transition screen is displayed in full page. But now it's no more working as I read here https://community.atlassian.com/t5/Jira-questions/announcement-banner-customization/qa
I need to remove the popup. Which is the better way to do this ?
Since the announcement banner cannot host anymore javascript code, I'm not able to set any "onload" or "onclick" event.
How can I solve this big problem ? Can I do anything on the css ? And in which way ?

Thank you in advance

P.S. I cannot use the "description" part of any customfield. The main page of the issue is "read-only" i.e. the users have no permission to modify the customfields. To do this I used some workflow transitions where the source and destination status is the same; in this way some customfields can be modified on the transition screens.

0 answers

Suggest an answer

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

Atlassian Community Events