Hello everyone,
I have issues with 1..n sub-tasks, and on these sub-tasks, risks need to be assessed (simple TEXT/custom field). Once the sub-task undergoes a certain status change, the risk assessment should appear as a comment in the linked issue.
If possible as follow:
"Summary of the Sub-Task"
+ "Assignee of the Sub-Task"
+ "TEXT of the Risk Custom Field of the Sub-Task").
What should the automation for this look like? I have created allready several automations, but never with linked issues... i have no idea...
Thank you for your help...
Best Regards
Matthias
Hi @Matthias Lochmann try the following smart value...
{{issue.summary}} is assigned to {{issue.assignee}} which has the following risk assessment- {{issue.Risk Assessment}}
Thank you Jack..
Unfortunately I don't get the desired result, I tried some freestyle (second example) :), but that doesn't seem to exist... how do I get the information of the linked issue?
Thank you for your help, Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so to get the dat from the linked issue I would try using variables. Under your branch create three variables: linkedAssignee, linkedSummary, linkedRisk. Then use these variables in your comment for the trigger issue outside of the branch. Something like this...
variables:
then your comment would be...
during the audit {{linkedSummary}} by the auditor {{linkedAssignee}}, the risk assessment was as follows: {{linkedRisk}}
I am not where I can test out the automation so some trial and error is required here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Jack Brickey -- Variables created inside a branch which could-contain-more-than-one-issue are not available outside of the branch. This is due to the parallel processing of the branched-to items. The variables go out of scope and vanish after the branch...and there is no guarantee when the branch will finish, up to the last step of the rule anyway.
Would you please clarify a bit...
You originally noted subtasks and then show linked issues. Which are you trying to manage?
And in which issue do you want the comment to be added? For example, in the parent issue (for subtasks), or ??? for linked issues?
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.
@Bill Sheboy , yes indeed! I completely forgot this. :-(
Good idea to get clarification here. My understanding/Assumption was that Matthias wanted to pull data from a linked issue into the parent.
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.