atlassian / atlassian/github-for-jira

Unnecessary issue edits by JIRA for already linked issue keys

Open
#1,858 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
655
Forks
194
PR merge metrics
No merged PRs in 30d

Description

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:
```markdown
[ABC-123](https://company.atlassian.net/browse/ABC-123)
```

JIRA will edit it, so it becomes like this:
```markdown
[ABC-123](https://company.atlassian.net/browse/ABC-123)

[ABC-123]: https://company.atlassian.net/browse/ABC-123?atlOrigin=wifbejDagbaiQuoxyenefyixwikMuvdoatshEsp3drishkyuckerWofIcGeejyoabZyelCunnUmmUjojwa
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the JIRA behavior that adds links for issue keys in square brackets, using the linked-issue example in this report as the reproduction case. Verify that an already linked [ABC-123] entry is left unchanged and that no extra reference definition is added; the issue provides no file or test names.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.