SIL for cloud - need to display only the first element in the string /array

Ashish Saini June 14, 2021

Hello Community ,

 

How can i display first element only in the string /array in SIL -Cloud

At the moment it is displaying all 


string [] moreLinkedIssues = selectIssues("(linksIssue = " + vkey + ") and linkType = \"clones\" and project in (SYS,FV5,HV5,CLD) order by createdDate DESC");

for(string mliKey in moreLinkedIssues){
runnerLog(i + " > " + lkey + " > " + v.issue + " > " + mliKey);
if (k!=1) {
wikiTemp += "\n | |";
}

k+=1;
wikiTemp += " |" + replace(mliKey, "-", "-");
}

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events