hi! I found a helpful blog on how to create automation so that any child issue start / due dates would automatically update a start / due date of their parent Epic, but I was wondering if I have it configured correctly cause in our Project we dont use the "issue" issue type. we do it as Epic -> user story -> task.
Here is the blog i am referencing for building the automation, but i think because we use user stories that I have to tweak it. Can someone provide insight?
Hello @Shettsline_ Marisa M
Welcome to the Atlassian community.
The post you mentioned is not making use of an issue type named "issue". What information within that post makes you think that? I ask so that I can help you correct your thought process.
You said your issue type hierarchy is
Epic -> user story -> task
This doesn't align with the native issue type hierarchy which is
Epic > "standard" issues (i.e. story, task, bug) > sub-tasks
Your post tags indicate that you have the Premium subscription so it is possible that you could customize your issue type hierarchy. Have you customized your issue type hierarchy? If so, are you trying to update your Epics or your User Stories or both?
Can you provide screen images showing us your entire automation rule?
hi yes! so you are correct in that our hierarchy doesnt align with the native issue types. here is my automation rule ive configured, but im doubtful it will work given our hierarchy settings and wondering how i can make it work for our proejcts settings?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you trying to update your Epics or your User Stories or both?
Are all the different types of issues in the same Jira Project?
Is the scope of this rule one project, multiple projects, or Global?
What you have should work for updating your Epics based on the data from their child User Story issues, depending on the scope of your rule and whether the issues exist in the same project or different projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to update my Epics only based on their child user stories start and end date! the scope of the rule is just for my project only, we are in a managed environment so everything we do is only for stuff within our project
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 sincerely apologize. I was not paying close enough attention to your rule.
The step that is failing is the last one: If: Issue matches JQL
That is not the correct type of step to have. After the Lookup Issue action to get the list of child issues you need an Edit Issues action to edit the Epic for which you looked up the child issues.
You would use the smart values to set the appropriate date fields for the Epic. It would look something like this:
Smart values are case and spacing sensitive. The 'i' in lookupIssues needs to be capitalized. When you insert the field name for Start Date that needs to match how the field name actually appears in your issue. In my example the field name uses a capital "s" and capital "d", so I have to match that in my smart value.
The system Due date field is special. Both "Due date" and "duedate" should work for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shettsline_ Marisa M
Were you able to solve your issue with the information I provided? If so, please consider clicking on the Accept Answer button to mark your Question as Solved.
If you still have questions on this topic, please let us know.
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.