Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-33562

Confluence JIRA macros are broken and AppLinks changes cannot not fix them

      In production environments configuration are changing, and it is really easy to end-up with cases like:

      • the server name has changed - that's the App Title of jira
      • URL of of the target JIRA can change, domain do change!
      • serverID of can change, for example when two instances are merged or split.
      • jira macro code can be missing the serverid (yes only servername) – observed it quite often.

      If any 2 of the above are happening at the same time, you are ending up with lots of broken JIRA macros, ones that you cannot solve using KB article https://confluence.atlassian.com/pages/viewpage.action?pageId=590251843

      In order to fix this for good JIRA needs few patches:

      • Auto repair URL redirected AppLinks - a 301 response on an AppLink should auto-reconfigure the app link. HTTP 301 is a permanent redirect, not a temporary one.
      • When encountering a jira link that is using an AppLink that is redirected, fixit. If possible this should be part of self-repair scheduled task.
      • When encountering a jira-macro without server-id, add the server id to it
      • When unable to repair AppLinks from JIRA Macro include the servername and serverid in the error message displayed on the UI.
      • Allow people to have aliases for servernames, that's the only way to fix previous point without having to do search and replace at database level.

            [CONFSERVER-33562] Confluence JIRA macros are broken and AppLinks changes cannot not fix them

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2894253 ] New: CONFSERVER Bug Workflow v4 [ 2986791 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2777933 ] New: JAC Bug Workflow v3 [ 2894253 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2735687 ] New: JAC Bug Workflow v2 [ 2777933 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401178 ] New: JAC Bug Workflow [ 2735687 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2301196 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2401178 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2235042 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2301196 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2198102 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2235042 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1915752 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2198102 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1724137 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1915752 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1681545 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1724137 ]

              shaffenden Steve Haffenden (Inactive)
              73f0b2e75f82 Sorin Sbarnea (Citrix)
              Affected customers:
              8 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: