Have an interesting question on a rule that I have not started building just yet that I was hoping to get guidance from yall on.
So right now we have Features in Jira, as child tickets teams also create Epics that are linked to that Feature via a parent field.
The epics are required to have target start / target end dates to roughly gauge when work may finish (or assess delays).
A Feature may have 5-10 child Epics linked up to it all with varying Target start / target end dates. Essentially we would like to 'scan' these dates whenever there is an update and then add the latest date to the Feature level.
For example:
The automation should scan those dates and put 9/30/25 into the Target End field on the Feature level.
I assume I need to create a variable that stores all the target ends of the child tickets ,which I can do (because yall have helped with this in the past), what I dont know how to do is to only take the one target end (the one furthest out) to place at the feature level. Any thoughts? Thanks in advance!
Hi @Travis Hill
Without seeing your actual rule...
Perhaps try using the Lookup Issues / Work Items action with JQL to gather the children, and then use the min (or max) list functions with the date fields:
Kind regards,
Bill
That is an excellent recommendation. Let me try it out and get back to you if we run into issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That expression is not correct. An example to set that field could be:
{
"fields": {
"customfield_10023": "{{lookupIssues.customfield_12345.max.jiraDate}}"
}
}
Please adjust the rule accordingly if the trigger work item is not the Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, seems like im still getting the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please show images of your complete Edit Work Item action and of the audit log details for the rule execution (with the areas at the right side expanded).
I also recommend writing that entire JSON expression to the audit log before the edit to confirm it contains what you expect when the rule runs.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like I need to rework it. Its not pulling in what I want in the logs. I will get back to you on this one!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.