Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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] Find bigger date from Epic's issues and copy it to an Epic field

Hi all!

Let me lay out the foundation for my question:

I have an epic. Below this epic, I have two different issue types: dev & specs. The dev issue types have an actual start date field and actual end date field (both date picker fields), which are automatically added to each issue, upon starting the progress or completing the work. I'm using JMWE on my cloud instance.

My question is the following: Upon Epic's resolution (moving from e.g. in progress to done) I want to search for all dev issues which belong to this epic and which must be resolved. Then, if they are all resolved, find their Actual End Date, take the most recent one (the bigger, the greatest, the one closest to today) and then copy it on the same field on my epic.

Any ideas?


1 answer

1 accepted

Hi @Alex Koxaras ,

Add a "Set field value (JMWE app)" post-function on the Done transition of the Epic. Select Current Issue under Target Issue(s), select the destination field and add the below value : 

{% set issues = issue | stories() | filter(["","dev"]) %}
{% if issues | filter(["","Resolved"],true) | length == 0 %}
{{issues | filter(["fields.customfield_10083",null],true) | field("fields.customfield_10083") | sort | last}}
{% endif %}

Replace "dev" in line #1 with the desired issue type name(which belongs to Epic), replace "Resolved" in line #2 with the required status of the dev issues and replace "customfield_10083" with the id of "Actual End Date" custom field.



We have opened a support ticket, to better track your request. However, we couldn't add you as a reporter.  Please sign up using this link and share the user name/id. We'll then add you as the reporter and confirm. 



Hi Suprija,

I truly appreciate your answer and what you have provided clearly worked! Can't thank you enough :)

I've created an account and you may find my username under my Full Name "Alex Koxaras".


Suggest an answer

Log in or Sign up to answer

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