Whenever a user selects an issue from an issue picker (Related Project), I'd like to link the current issue (Epic) to the issue selected as a child of that issue.
So, user selects POP-1 from the Related Project (issue picker) field
I'd like to create a link and make the Epic a child of POP-1. Does one have any ideas on how to do this with Automation is Jira Data Center?
I solved my own issue. The trick is to specify {{issue.customfield_xxxx.key}}
The other point to note is that the linking of issues is additive so I also delete all "is child of" links, then link to whatever is selected in the issue picker field:
Do you use an add-on to create issue picker fields? If so, what add-on?
Try to replace the smart value with the one with ID {{issue.customfield_XXXXX}}. Will it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{issue.customfield_XXXXX}} was tried and also does not work. The error message is: (Too many operations (24) provided for field 'issuelinks'. We support at most 1 operation for this field. (issuelinks)).
The Issue Picker field is just a basic Issue Picker field created through Custom Fields.
If I hard-code the ticket number that is selected in the Related Project field, it works. So, the issue is to capture the ticket number in a programmatic way.
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.