Add a calendar to jira plugin


I'm trying to intergrate a full calendar in my jira plugin, i'm referring to

I have added this code in "atlassian-plugin.xml" :

<web-resource key="worklogCal-resources" name="worklogCal-resources">
		<resource type="download" name="fullcalendar.css" location="/css/worklogCalendar/fullcalendar.css"/>
		<resource type="download" name="fullcalendar.print.css" location="/css/worklogCalendar/fullcalendar.print.css"/>
		<resource type="download" name="jquery.min.js" location="/js/worklogCalendar/jquery.min.js"/>
		<resource type="download" name="fullcalendar.js" location="/js/worklogCalendar/fullcalendar.js"/>
		<resource type="download" name="fullcalendar.min.js" location="/js/worklogCalendar/fullcalendar.min.js"/>
		<resource type="download" name="jquery-ui.custom.min.js" location="/js/worklogCalendar/jquery-ui.custom.min.js"/>
		<resource type="download" name="moment.js" location="/js/worklogCalendar/moment.js"/>

then I have added in the view "input.vm" :


	$(document).ready(function() {
			header: {
				left: 'prev,next today',
				center: 'title',
				right: 'month,agendaWeek,agendaDay'
			defaultDate: '2014-06-12',
			editable: true,

	<div id="calendar"></div>

But nothing is displayed.

4 answers

0 vote
Timothy Chin Community Champion Jun 17, 2014


This is the first thing to check whether the resources are actually loaded.


I have added a test resource "test.js" to prvious resources contains a script

The message 'test' was displayed, but no calendar.

Timothy Chin Community Champion Jun 18, 2014

Just checking whether you need AJS.$ instead of $ only.

Je remplace "$" par "AJS.$" à quel niveau, j'ai fait ça


mais aucun résultat obtenu

Thanks so much Timothy


it works now, the problem was the ordre of included resources.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

779 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you