I was hoping to use advanced branching to add one issue's links to the existing links of another issue.
I have started testing with a manual trigger and simple logging.
But I got this error
For my immediate needs I'll do what I need to do manually.
But has anyone got advanced branching to work for iterating over a list of issue links?
Hi @Julia Foden
The list values (links, comments, etc.) have attribute-based values, so you need to access the one you want. Please try this for the branch:
{{issue.issueLinks.key}}
Best regards,
Bill
Hi @Bill Sheboy
I tried that but it logged nothing. In my original rule, the branch did log the issue key of the first link but then hit the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information, Julia.
I updated my post as when I tried this, it does appear objects are available in advanced branching, and there is something special about links: the branch works with just the key but I also see nothing logged.
I'm gonna try this and see if I can get it to work as I expected it is an inward/outward link issue...
Yup, these worked
{{issue.issuelinks.inwardIssue.key}}
{{issue.issuelinks.outwardIssue.key}}
__Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And...If you need to process these as a batch, consider merging the inward and outward links using list and text functions, and a created variable...Then the created variable can be split into a list to drive the Advanced Branch source.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.