How to pass data to quartz job not using the jobDataMap?

I try to ues quartz to schedule jobs. i find out that I can pass same date by JobDataMap.
But I get below error. So how to pass some data to quartz in atlassian?

[INFO] [talledLocalContainer] java.lang.UnsupportedOperationException: Atlassian Scheduler does not support the persistence of a Job Data Map
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:283)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:246)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.OfBizJobStore.storeJobAndTrigger(OfBizJobStore.java:239)
[INFO] [talledLocalContainer]   at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:613)
[INFO] [talledLocalContainer]   at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)


1 answer

1 accepted

This widget could not be displayed.

It was beacuse of wrong version of quartz in repozytory (1.5.1) on jira server. I have to add to pom.xml:

<dependency>			
			<groupId>org.quartz-scheduler</groupId>
			<artifactId>quartz</artifactId>
			<version>1.8.0</version>
		</dependency>

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

47 views 0 0
View post

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