We are creating parent issues with subtasks.
All our issues have:
Some of our issues are linked to other issues.
I am looking for a solution which will make planning a lot easier.
I want to use automation to achieve the following:
I don't know if this can all be put into one automation rule.... but hopefully someone has an idea on how to fix this.
Hi @Tijs Tijert
I stumbled upon your screenshots today as I'm working on a similar automation. Perhaps you've managed to make your automation run reliably in the meantime. From my perspective, the only thing missing is the step "re-fetch issue date" between adjusting the "Start date" and "Due date," as you're changing the start date first and then calculating with it in the next step. However, at that point, the automation still has the original start date in mind.
My modified automation works flawlessly, and the Epic aligns perfectly as well.
I did try it out but never really got it to work.
It is something we might start puzzeling on again in the future but at the moment there are other pressing issues to attend to and improving jira efficiency is not one of them I'm afraid.... but if you give it a try and figure it out I'd be happy to use that knowledge as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Automation will likely be able to handle your use-cases. It will likely take at least two automation rules to accomplish what you want to do. Here are my thoughts and suggestions:
Note 1: Don't be tempted to loop through subtasks and set a variable to the "latest due date". You literally cannot do that in Jira Automation today. Instead, I'd suggest an approach that uses JQL which sorts (descending) the Subtasks under that Story by Due Date and grabs the first one. The Lookup Issues action and .last() function for list processing might be the way to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tijs Tijert
Yes, and...to add to what @Mykenna Cepek suggests:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure I see the deadlock concern that Bill suggests, but it's wise to think through any re-triggering situation to ensure you don't create any kind of re-triggering loop between issues.
Bill's suggestion to build incrementally is spot-on!
A few more thoughts:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Mykenna!
For the possible deadlock, I was noting the path of parents can change children...and children can change parent's dates. Which could lead to either rule looping or rules not firing when the engines "runaway" detector halts processing.
For the manual "tampering" scenario, we had a similar case when we used automation to measure cycle times. The fix was to check initiators and the changelog to "undo" the edit when it was not possible to recalculate the value.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I see your concern @Bill Sheboy.
I think the solution (to avoid looping/deadlock) is to be mindful of what fields are being used at triggers, and what fields are being changed. If...
Then yes, that's probably not going to work out very well.
Triggering the second rule on yet another field might solve the problem (with a downside of having another exposed field).
Accomplishing the original goals will be non-trivial. @Tijs Tijert be sure to write an article here for the Community if/when you figure this all out. It would be a great contribution back.
Another thought: think through what should happen if someone changes the Original Estimate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will take the advise from you both into consideration and hope I will have some time soon to try and find a working solution. Once I do I will post it here for sure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tijs Tijert did you ever find a solution to your original question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tijs Tijert did you build this Jira rule automation because I would be interested in it as well. If you can share it we can build it and test it as well and share?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did try it out but never really got it to work.
It is something we might start puzzeling on again in the future but at the moment there are other pressing issues to attend to and improving jira efficiency is not one of them I'm afraid.... but if you give it a try and figure it out I'd be happy to use that knowledge as well!
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.
I have made some screenshots.
There are 2 automation rules that should do the deed.... but it is not completely reliable. Especially the rule that needs to update the due date of the parent.
I will post the screenshots of each rule in a separate reply below.
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.
Rule: Change Due date of parent to youngest due date of any child issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tijs Tijert Thank you for the screenshots. I will look at it, they may be different, but what I am looking for is functionality like MS Project which is MS Project today: When any task start date is updated, the tasks due date adjusted based on the task duration. If there are dependent tasks they adjust automatically based on duration for each task. What also would be nice if ARM would do is when you put in the initial project start task like kick off call start date then all tasks' start and end dates are added based on their duration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that is also exactly what I am looking to do... the kick-off meeting is a nice idea, but not really applicable to our organization
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tijs Tijert Hi Would you be able to provide me a screenshots of each of your rules for your "Update Start Date of dependent issues" automation? If you do I will then try to build these rules and test and then move from there. I don't see the "If: matches linked issues present types: block" as an option. I am a newbie to building these rules so I apologize in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tijs Tijert @Tijs Tijert Hi Would you be able to provide me a screenshots of each of your rules for your "Update Start Date of dependent issues" automation? If you do I will then try to build these rules and test and then move from there. I don't see the "If: matches Linked issues present Types: blocks" as an option. I am a newbie to building these rules so I apologize in advance.
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.