Hi,
I need help with setting up an automation rule.
I have two projects in which every month, there is a new Story created with the name of the month and a year (e.g. August 2020).
In one of the projects in addition to the Story, there are certain sub-tasks created.
My requirement is to link those sub-tasks to the issue created in another project based on the sumamry of the sub-tasks parent.
If a sub-task parent summary = summary of an issue in the other project then link. Otherwise do nothing.
Here's an example of what I need to do:
Project 1 (all auto-created using automation every month)
Story: August 2020 [under epic ABC-1]
Sub-task 1: To do [parent summary: August 2020]
Sub-task 2: To approve [parent summary: August 2020]
Sub-task 3: To resolve [parent summary: August 2020]
Project 2: (story auto-created using automation every month)
Story: August 2020 [under epic BAA-7]
I need to create "relates to" links for all those sub-tasks from project 1 where parent summary = summary of story from project 2.
Is this something I'd be able to do with any of the automation apps?
I already have a custom field that returns a parent name for all issues, so I only would need to compare the custom field in the two projects and link issues based on that.
What would be the best way to accomplish this?
The equals comparator (=) is not allowed with the issue field. Use tilde (~) instead and use quotation marks around the smart value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Florian thanks for this, but your setup only comments on the issues. I need to link them, not comment.
Actually, after thinking about this, I don't think what I want to achieve is possible.
Issues in both projects are auto-created at the same time, so I don't see an option to implement the linking within Automation for Jira and the scheduled automation to link them.
This is a bit complicated. I guess, I will just be linking the issues on a monthly basis.
Thanks for the effort to help though. I appreciate it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well I did the comment to prove the concept. Linking should work the same way.
You say „at the same time“. That is something I highly doubt.
When you use a single automation rule the create both issues then you can create the „collector“ issue first and add a delay of some seconds to be sure it is finished before you create the „parent“ issue. Afterwards you can create all the sub issues to your parent.
Let me check the linking stuff for you. I will write again...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did it!
For the first rule make sure that the checkbox shown in the picture is set:
The second automation rule sould look like this:
Done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Florian, I tried it one more time and this time it seems like it's working.
Huge thank you for this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a rule that is triggered when a subtask is created.
Use a branch rule with JQL “project = other-project-name and summary = {{issue.parent.summary}}”
Set a link between this {{issue.key}} and {{triggerissue.key}} within the branch rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Florian I have tried that before, but I think JQL does not accept variables. It gives back an error.
Here's my setup, maybe I've done something wrong.
And here's the error:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well it looks good. I will try this tomorrow when I am back in office.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.