Looping over all issues and then tagging some based on a condition

Hi, in a workflow, I would like to know how I can loop over all issues and then tag them is their id starts with some string. Is this possible? Thanks in advance.
1 comment
Comment actions Permalink
The following workflow should implement your case:
rule loop 
when Type.changed { 
  // 'created by me' issues 
  var issues = project.leader.getIssues(Everything, "created by: me"); 
  for each myIssue in issues { 
    if (myIssue.summary.startsWith("prefix string: ", opts)) { 

Please sign in to leave a comment.