Intention:
Confluence Cloud – Macro to Generate External Links to a Different Project System Using Only an ID Number
Background:
I'm working in Confluence Cloud. When building Confluence Requirement pages, we frequently need to link to our external Incident Tracker system. I'd like to simplify this linking process.
Current Manual Process:
Right now, to link an incident, I need to:
This means that each time, I must remember and type the full base URL, then append the 5-digit incident number.
What I'd Like to Do:
Ideally, I want a macro called "Incident Tracker" that would allow me to:
The macro would automatically build the URL as:
http://external-proj-system.test.com/incident/IncidentDetail.do?action=EDIT&ID=<five_digit_number>
...with the link text displayed as Incident# 12345.
Questions:
My main goal is to encapsulate the base URL within the macro logic so that authors only need to enter the 5-digit Incident Tracker number without worrying about the full URL.
Thanks in advance for any guidance or examples!
There is no need for this, you can just paste a url directly on a page.
If you want to have a other name, directly use Ctrl + K and you can paste the url and specify the linke name.
Or you can look at the Atlassian Marketplace, for options.
Or built your own Forge app that can do this.
Thank you, Marc.
1. We are all set with CTL+K building the link.
2. Yes, that's exactly what I need help with to build Forge App.
3. Any specific Marketplace Tool are you aware of?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get information on forg or reach out to an Atlassian partner, https://partnerdirectory.atlassian.com/
I.m not aware of any app, suggestion is to browse the marketplace for options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ashvin Patel
Hi
As for an app for your use case, I've been testing the solution we're developing and managed to achieve the result you requested.
Take a look at it:
It's a user macro where you can do and customize a lot of things: your base URL, look&feel, move a URL to user params, or completely change the overall logic.
If you need any help with that, please reach out to me 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you are part of a marketplace vendor, the rules of the community state that you have to disclose this in your username.
Please adjust you username accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Anatolii Starshekov
This is slick - I will definitely play with it. Is this compatible for Cloud Confluence that you are aware of?
Thank you so much for hints.
Ashvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ashvin Patel
It's fully compatible with Confluence Cloud.
Also, I can share a snippet being used in the template. After you create and save a macro, refresh your Confluence page and it'll be available in Confluence macro browser.
If you need any help setting it up, let me know 😊
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Anatolii Starshekov
Please share snippet, that will be extremely helpful. Thank you so much.
Ashvin
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.
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.