Unnecessary issue edits by JIRA for already linked issue keys
Since a while we regularly see edits of PRs being made by JIRA. They seem to be triggered by the behavior to add links for issue keys in square brackets, however they also happen if the issue is already linked.
E.g. if the original PR description contains this:
[ABC-123](https://company.atlassian.net/browse/ABC-123)
JIRA will edit it, so it becomes like this:
[ABC-123](https://company.atlassian.net/browse/ABC-123)
[ABC-123]: https://company.atlassian.net/browse/ABC-123?atlOrigin=wifbejDagbaiQuoxyenefyixwikMuvdoatshEsp3drishkyuckerWofIcGeejyoabZyelCunnUmmUjojwa
I think the grepping needs to check if the following character is not an opening parenthesis.
Also, why do we need atlOrigin in the generated links? Can we opt out of adding this parameter?
I think this sort-of a duplicate of https://github.com/atlassian/github-for-jira/issues/1820, because the behavior is exactly the same with PR descriptions.