Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary issue edits by JIRA for already linked issue keys #1858

Open
Dunedan opened this issue Jan 26, 2023 · 2 comments
Open

Unnecessary issue edits by JIRA for already linked issue keys #1858

Dunedan opened this issue Jan 26, 2023 · 2 comments

Comments

@Dunedan
Copy link

Dunedan commented Jan 26, 2023

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
@ADTC
Copy link
Contributor

ADTC commented Mar 13, 2023

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?

@BenedekFarkas
Copy link

I think this sort-of a duplicate of #1820, because the behavior is exactly the same with PR descriptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants