Hi,
I would like to insert some javascript to 'view issue' screen to put a text with some calculations next to the custom fields.
I have read some posts to put javascript into 'edit issue' screen, so I already have done that for 'edit issue' screen by writing some javascript into Field Description. However, I cannot find anywhere to put javascript in view issue screen.
Is there a way for this?
Cheers
You can either put it in the announcement banner (easy, less elegant) or write a plugin with a javascript resource that is loaded in the view issue context.
Free plugin that puts your javascript into the view context? Don't think so. You will have to write a custom plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a scripted custom field with whatever logic for calculation as they more maintainable than javascripts. Javascripts are bound to break anytime a JIRA upgrade happens
https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner
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.