You could use Automation for Jira to run a query every night searching (using JQL) for issues where Probation Complete Date was 6 months ago AND does not contain a linked issue to whatever new issue type you are making. If it finds any then create the linked issue.
So its not really a "listener". Just looks every night to see if there is anything to do, and then does it. You just want to make sure to have a way to filter out the tickets that have already been acted on.
When you say it is not working properly, what is going wrong?
as a guess, Check the following.
In the Scheduled trigger, just below the JQL field, there is a "Validate Query" link. If you click on that, does it show the issues that you would expect to see? If not, you need to fix your JQL till you get it to show what you would expect.
Also check the "scope" of your automation rule. Under Rule Details, make sure the its either a global rule, or that both the project you are searching and the project you are trying to create the ticket in are listed.
Other then that I would need more detail as to what is not working.
You can use scriptrunner add-on for this.
Hi @Ismael Jimoh Thanks a lot for quick reply.
actually I want to create issue automatically after completion of 6 moths from "Date of joining" which is custom fields. (means when probation complete)
I tried :
Created scripted field "Probation Complete Date" which will calculate 6 months from "Date of Joining"
Created Listener to create new issue.
But when should i call this listener.
How it will calculate 6 months automatically.
Please help me with this.
I’m not sure how your date field would function but of you can use JQL to search for it, you can use the Escalation job to trigger issue creation based on value of your date field.
See a sample here: https://scriptrunner.adaptavist.com/latest/jira/escalation-service.html
Unfortunately, I don’t have a laptop with me to help explain this in more details.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events