This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 3b7092b7d fix(jira): stop false-positive 'field name is duplicated' 
warnings across boards (#9053)
3b7092b7d is described below

commit 3b7092b7da0e4139063e72186f463f9b4d7865a0
Author: Bramhanand Lingala <[email protected]>
AuthorDate: Sun Aug 16 12:30:22 2026 +0530

    fix(jira): stop false-positive 'field name is duplicated' warnings across 
boards (#9053)
---
 backend/plugins/jira/tasks/epic_extractor.go | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/backend/plugins/jira/tasks/epic_extractor.go 
b/backend/plugins/jira/tasks/epic_extractor.go
index 36d37223a..8768f2c67 100644
--- a/backend/plugins/jira/tasks/epic_extractor.go
+++ b/backend/plugins/jira/tasks/epic_extractor.go
@@ -103,8 +103,11 @@ func getIssueFieldMap(db dal.Dal, connectionId uint64, 
logger log.Logger) (map[s
        }
        issueFieldMap := make(map[string]models.JiraIssueField)
        for _, v := range allIssueFields {
-               if _, ok := issueFieldMap[v.Name]; ok {
-                       logger.Warn(nil, "filed name %s is duplicated", v.Name)
+               if existing, ok := issueFieldMap[v.Name]; ok {
+                       // Same field can appear on multiple boards; only warn 
on a real name collision.
+                       if existing.ID != v.ID {
+                               logger.Warn(nil, "field name %s is duplicated 
(IDs: %s, %s)", v.Name, existing.ID, v.ID)
+                       }
                        if v.SchemaType == "user" {
                                issueFieldMap[v.Name] = v
                        }

Reply via email to