Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Need help with SIL Script

Hello All , 


Need help with SIL Script ..


Anyone can help please ?




3 answers

1 accepted

0 votes
Answer accepted

Not without any information on where you are stuck, no. 

No-one can help you when you have not bothered to explain the problem.

Here is my Script 

if(project == "KD") {

string [] linkedIssues;

for(JIssueLink l in getIssueLinksDetail(key)){
if( == "Design" && l.direction == -1) {
linkedIssues += l.issue;
} else {
runnerLog("Customfield not updated: " + + "/" + l.direction);

customfield_10054 = replace(linkedIssues, "|", ",");


I have a text custom field which displays issue key of issues linked by link "implemented by " 


i want the custom field to display issues same way its displaying linked issues 

one below the another and along with issuekey and text 


screen shoCapture.JPGt attached

SIL cannot do that, you can't inject the required html into text fields.  The best you can do is inject formatting for a rich-text field directly into the content, but text fields don't have formatting that would get you close to that display.

I'd also question why you're repeating a display of things that are already displayed on the issue view.  

@Nic Brough _Adaptavist_  : This is required for Confluence Table 

In Confluence , when i use JIRA macro to create a table it only allows me to use linked issue as a field to add. I only need the linked issues "implemented by" only

We want to capture this data and display in confluene so everytime a new issue is linked , it captured the data and display it in the confluence table 


Instead of text field, any other custom field i can use which solves our purpose ?


Thanks in advance for your help 




No, a text field is the only one that you could add the duplicate data into.

@Nic Brough _Adaptavist_  : What solution can you suggest then 

@Nic Brough _Adaptavist_  : Thanks for the resposne .. I posted a previous question which wasnt answered .so thought of checking again if anyone is available to answer

@Nic Brough _Adaptavist_  : I have posted my script.


Can you please review and advice

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events