Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-38017

Remote Confluence Links with Anchor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Handled by Support
    • Icon: High High
    • None
    • 6.2.2
    • None

      I tried to link Confluence pages to JIRA with dashed link to directly access an anchor on document, JIRA creates a remote link and returns url information with same url as request over rest api. But when I open JIRA issue it shows links without anchors.

      Example rest url:
      http://localhost:8080/rest/api/latest/issue/DEMO-632/remotelink

      Example rest body:

      {"relationship":"mentioned in",
      "application":{"name":"Confluence","type":"com.atlassian.confluence"},
      "object":{"title":"Page", "url":"http://localhost:1990/confluence/display/ds/Welcome+to+the+Confluence+Demonstration+Space#deneme"},
      "globalId":"appId=df0c5cf1-0a1f-37a7-9977-c139567a593e&pageId=98334"}
      

      Rest Response:

      {id: 11004,
      self: "http://localhost:8080/rest/api/latest/issue/DEMO-632/remotelink/11004",
      globalId: "appId=df0c5cf1-0a1f-37a7-9977-c139567a593e&pageId=98334",
      application: { type: "com.atlassian.confluence", name: "Confluence"
      },
      relationship: "mentioned in",
      object: { url: "http://localhost:1990/confluence/display/ds/Welcome+to+the+Confluence+Demonstration+Space#deneme", title: "Page", icon: { },
      status: { icon: { }  }
      }
      }
      

      On the other hand when I link to another website over rest api, JIRA shows anchor links on issue.

            Unassigned Unassigned
            8c7fe2fca912 Ömer Faruk Ak
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: