Hello there,
I have to run some javascript when Create Sub-Task dialog is loaded.
How should I define web-resource context which have javascript file as a resource for this situation?
I saw the answer: https://answers.atlassian.com/questions/14816191
but I didn't see plugin descriptor and web-resource where is that
jQuery(document).ready(function($)...
function implemented?
Here is the Dialog that I am referring to.
Thanks!createSubTask.png
OK, I just used
<context>jira.general</context>
as a context in web-resources to define my javascript file:
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) { setTimeout(function() {autoFillSummary();}, 50); });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.