Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
ids = new Array()
.
.
ids.concat(bean.getRelatedIssues("relationship");
does not work
Solved! Go to Solution.
The concat function doesn't modify its operand, you have to assign the results of concat to a variable.
You can do a direct assignment:
var ids = bean.getRelatedIssues("relationship");
Or if you must add to an array:
ids = ids.concat( bean.getRelatedIssues("relationship") );
The concat function doesn't modify its operand, you have to assign the results of concat to a variable.
You can do a direct assignment:
var ids = bean.getRelatedIssues("relationship");
Or if you must add to an array:
ids = ids.concat( bean.getRelatedIssues("relationship") );