Create scheduled task plugin ?

Hi ,


When i searched regarding the scheduled task in JIRA, i found the below link about scheduled task with sample example . it was perfect example , but still i have some queries on that .


The below is the folder structure created in that sample example package:




1,How to build Jar for this above example .

2,what is purpose of having pom.xml.




<?xml version="1.0" encoding="UTF-8"?>

<project xmlns=""


        <name>J Tricks</name>

    <description>This is the Example com.jtricks:scheduled-task-plugin plugin for Atlassian JIRA.</description>









1 answer

1 accepted

0 vote

You don't really need a pom for this. You can create the jar from eclipse or simply by packaging the files. In this case, pom was added just to make it easy to build the jar and also to start a JIRA instance for testing wink

Btw, you might also want to look at this tutorial. Involves a little bit more work up front but then you don't have to modify the scheduler-config.

Hello i am using the same tutorial for my scheduler,


Now I need to run it one of it every Midnight, one every Monday and one to every Month end .  how we can set the scheduler interval to 1 week. or one month I want my scheduler to run every Monday or every month end .

please give me some suggestion on how we can set the scheduler interval to 1 week or end of the month .

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 Tuesday 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...

159 views 1 17
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