Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JMWE Post-Function not executing after a time period Edited



So I am using the JMWE addon in our Jira Cloud and there is a requirement from our client like he wants to automate a transition when End date(Date picker Custom Field) will be passed i.e(If end date is 15-10-19 then on 16-10-19 the issue should be transitioned). Accordingly we have placed this post function on the transition before the target transition and condition is like now>issue.fields.customfield_10034 | dateadd(1,'days'). During testing the value is returning true but automation is not getting done after a time period. Can anyone help me to sort it out and let me know how to achieve this.


Note: Post function is placed at last.

1 answer

1 accepted

0 votes
Answer accepted

I think I got the answer for this and what I have understood is basically Post function will be carried out as soon as its transition has been performed. From my case perspective, condition on that Post-function will always get failed and execution will not be performed, because once a post function has performed it would not look for the condition when it becomes true. I need to do this workaround by using Scriptrunner listener.

Hope this helps someone.

Actually, a listener won’t help you either because there will be nothing to listen to. What you want is a scheduled job that will run regularly and look for issues that have exceeded their End Date (using jql) and trigger the transition on them. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,529 views 22 32
Read article

Community Events

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

Events near you