Details
-
Bug
-
Status: Triage
-
Low
-
Resolution: Unresolved
-
6.55.0, 7.13.0
-
None
-
SR4J Sprint 146 (8.2.0)
-
7.2
Description
Script Fragment 'Show a web panel' require a browser refresh to load due to binding variable returning null.
Only replicable for Jira JSM version 4.14 and above. Not replicable on Jira JSD version 4.13
Steps to Reproduce
- Create a Script Fragment 'Show a web panel'
- Configure condition using:
binding.variables.get("portal")
- Configure class/script using:
writer.write("<div style='background-color: yellow; text-align: center'>" + "Hello world!This is temporary banner" + "<div>")
Expected Behaviour
The script fragment will load accordingly and binding variable is returned.
Actual Behaviour
The script fragment failed to load accordingly and binding variable is null. Require a browser refresh for it to load.
Workaround
- Setting the condition to return true
- Configure additional condition in the provider class/script
Additional Info
- Replication video: Replication_JSM.mov
Attachments
Issue Links
- mentioned in
-
Page Loading...