Automation to link current issue to issue in Issue Picker field

Maria DePasquale August 31, 2023

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? 



2 answers

1 accepted

0 votes
Answer accepted
Maria DePasquale September 6, 2023

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: LinkedIssueWorks.JPG

0 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 31, 2023

Hi @Maria DePasquale,

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?

Maria DePasquale September 6, 2023

{{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.  

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events