Hi guys, I need your help. I am working on a post-function with JMWE, when I add a new link type and
this is = "It is from the Program", I need to see if there is another issuelink
before this one and delete it,
to leave the new relationship that the user is creating. I am using this code to iterate through the array:
{% if linkedIssuesMap.length != 0%} {% for linkedIssue in issue.fields.issuelinks %} {{linkedIssue.inwardIssue.key }} {% endfor %} {% endif %}
which brings me the issues that are linked:
Your template ran successfully Result value: PPG-1 PPG-2 But I only want to bring the first one (PPG-1) What am I missing to do? Thanks in advance for your help!