Can I call particular function after 3 minute time span on jira create event listener

 

2 answers

2 votes
Volodymyr Krupach Community Champion Dec 02, 2016

I can not imagine a case when it's needed but you can do it by starting a new thread. Please check: http://stackoverflow.com/questions/19999231/how-to-start-a-thread-after-specified-time-delay-in-java

1 votes

There's no functionality for that in JIRA.  In theory, you could just put a "sleep" into the listener when it gets the event, but that's going to cause things to stack up, so in reality, don't do it.

What is the use case for this?  There was a question the other day about something which didn't make a lot of sense before, but I can't work out why you'd want to introduce such a delay.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

361 views 1 13
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot