Hello,
Use Case Here : i am attempting to auto attach content to an Epic from its associated linked EPIC. I implemented this in two ways :
1. Implementation 1 : Screenshot attached
Trigger : Issue Link
Action : Edit Issue --> "from- Destination Issue"
this method is working as expected
2. Implementation 2 : Screenshot attached
Trigger : Scheduled
Action : Edit Issue --> "from -_ _ _ _" (tried all options)
This method is not working at all. Attached the audit log as well. Audit log does say successful for one of option, however, attachment is not happening for the parent epic.
Need some guidance in implementing method 2
Regards.
Unfortunately, the smart value and concept of "destination issue" only exists when the trigger is Issue Linked or Issue Link Deleted. That is why the copy does not work with other trigger types.
For your scenario with the Scheduled Trigger using JQL, you could instead invert the JQL so the "trigger issue" is the one with the attachment, branch to the linked issue, and then copy attachments from the trigger one.
Kind regards,
Bill
Hello @Bill Sheboy ,
Thank you for the quick turnaround, as always.
did not understand the part "you could instead invert the JQL so the "trigger issue" is the one with the attachment,". are you asking me to change JQL to look for Issues that has attachment (under the linked EPIC)? so that the child issue acts as a trigger?
i am currently using the JQL : issuetype = epic and issueFunction in hasLinks()
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, it appears you are doing this with the scheduled trigger to perform some type of bulk-updating for the attachments. If that is not needed, I recommend staying the Issue Linked trigger.
Otherwise...
Your rule is trying to issues based on specific link types to copy the attachments from the issue they are linked to. And so the key is making the trigger issues (from the Scheduled Trigger's JQL) be the source of those attachments.
For example:
I recommend first identifying example issues, and trying to write the JQL needed for the trigger, testing that standalone.
Then use those result to confirm the correct link direction (i.e., types) for your branch, and finally test those types in the rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the update.
Yes, I intend to bulk update the attachment for the existing issues on jira.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for clarifying the need. Please try the approach I suggested and let me know what happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.