-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
None
-
2
-
Major
-
Issue Summary
When an issue is commented with another issue key, when trying to link the commented issue with the issue where the comment is added, it does not work. Basically, the smart value :
comment.body.match(“(AUT-\d+)”) does not work.
Steps to Reproduce
- Create a rule similar to below :
Expected Results
- Read the comment and pick only the issue key that is in the comment.
- Link the issue in the comment to the commented issue.
Actual Results
Workaround
Workaround is to :
- Use the following regular expression for the Link issue step:
{{comment.body.match("([A-Z0-9]+-\d+)")}}
- Not add any other text in the comment except the issue key
- The issue key should not be a hyperlink and it should be a plain text. Eg : XYZ-123
- The link issue field should contain a smart value as {
{comment.body}
}