I'm looking for a way to automatically suggest or populate Confluence pages in Jira tasks based on title matching.
Use case: When someone creates a Jira task titled "Login performance issues", I want Jira to automatically find and display related Confluence pages (e.g., "Login troubleshooting", "Performance optimization") in the "Confluence content" field on that task.
Example:
What I'm looking for:
Context: I used to have this feature at a previous company and I'm trying to recreate it in our current Jira Cloud instance.
Hey @Hamza Bounaim ,
On top of what Gor said, you could try using Rovo, BUT I still don't think this will be able to create a direct link in the "Confluence content" section of the work item. 🫤
What I was thinking is to use automation + Rovo/Rovo agent to scan the summary and find related content, and then suggest or add it to the work item. Still, I think the only way would be through comments or by updating some rich text field, as automation still doesn't support populating the Confluence section of the work item: CONFCLOUD-80013: Improve Create Confluence Page action in A4J - automatically link the Confluence page to the Jira issue and/or be able to access the page/URL via smart values 👀
And as for the REST API, you can try this:
Web Link vs. Confluence Content
When you create a link via the API, Jira determines where to display it based on the
globalIdandrelationshipfields:
Web Link: If you only provide a URL and title, Jira treats it as a generic external link and places it in the "Web links" section.
Confluence Content: If you provide a
globalIdthat includes a validappId(your Confluence Application ID) and apageId, Jira recognizes it as a native integration. This triggers the link to appear in the dedicated Confluence content section with the official Confluence icon.Why the
globalIdis CriticalThe
globalIdacts as a unique identifier that tells Jira, "This isn't just a website; it's a specific page on a trusted Atlassian application." The format must be exactly:"globalId": "appId=<your-app-id>&pageId=<your-page-id>".Without the
appIdportion of theglobalId, Jira cannot verify the link against your Application Links settings, so it defaults to displaying it as a standard web link.Summary of Requirements for the "Confluence" UI
To ensure the link populates the correct section, your
POSTrequest to/rest/api/3/issue/{issueKey}/remotelinkmust include:
globalId: Containing bothappIdandpageId.
application.type: Set tocom.atlassian.confluence.
relationship: Set toWiki Page.
Note: the suggestions above for REST API are purely AI-generated, so I cannot confirm that they would work
Cheers,
Tobi
Jira Cloud does not natively support that. You can try these marketplace apps:
or
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.