I am trying to build a rule / trigger (Not JQL) which would start and complete the sprint based on below:
1. Start Sprint automatically as per the defined Sprint start date
2. When all Issues = Story tagged to a particular sprint are moved to 'DONE' and equals defined Sprint End date , sprint should automatically move to completed
Found a solution. Fixed the none option problem in the VM-file (issue has been fixed by Atlassian aswell) and edited my JS to sth. like this
<script type="text/javascript">
jQuery(document).ready(function($) {
XX();
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) { XX(); });
});
function XX()
</script>
you need to add javascript file using webresource module in plugin insted of adding in description
find thesample webresource module below
<web-resource key="test-js" name="javascript">
<dependency>jira.webresources:global-static</dependency>
<description>JavaScript</description>
<resource name="test.js" type="download" location="templates/js/test.js" />
<context>atl.general</context>
</web-resource>
test.js file like
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
AJS.$("#assign-to-me-trigger").hide()
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, I'll try that. Thank you in advance...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey rambanam, one question, why does the javascript, if I use it in the field description, just fire once?
Cheers Christian
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.