I need to link a special Epic with a newly created issue by comparing two same fields of the epic and the issue.
A customer creates a new support issue and types in his customer number in the custom field "customer number". The suitable epic for this customer has already been created and also contains the customer number in the custom field "customer number" and this also is contained in the epic summary.
When customer A1 creates its support ticket the epic of him has to be linked automatically. When customer B3 creates a support ticket, then its own epic has to be linked to the support issue automatically.
Is this possible with Automations?
Can anyone help me to solve this task?
Yes, you should be able to do that with Automation for Jira.
You can add a Branch using JQL after the trigger fires. The JQL would look like:
Project = ABC and updated >= startOfDay()
Then add an Advance Compare Condition under the Branch. It would look like this:
Then add a new action for Link issues. It will look something like:
thanks a lot for the fast answer!
Unfortunately, this doesn't work for me, because I don't use a branch. The whole automation process should be done in the support issue.
Furthermore the Epic must be linked in its right way as an Epic through the field Epic Link and not as a linked issue.