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.
Please sign in to leave a comment.
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)) { addTag("myTag"); } } }