It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to make the "Link to a Confluence page" mandatory in a Jira ticket?

So, we have the already built in "Link a Confluence page" in Jira.


Can we make mandatory to have that link for a certain type of tickets? (eg. all Story types).

I was not able to find a reference for it. I thought on creating a new Custom field add-on, however, I was not able to find a way to create the link through REST API. Is that even possible? Has anyone tried it before?


Thanks in advance!

1 answer

0 votes
Davin_Studer Community Leader Aug 26, 2019

I don't know of a way to do this natively, but you might be able to require the page link using something like ScriptRunner.

But could ScriptRunner actually do that? I hesitate about it. I assume it should be able to do it, if it can update the ticket through a REST API or something, right? 

I couldnt find an endpoint to add those link types to a ticket.

Davin_Studer Community Leader Aug 26, 2019

I think the REST resource you are looking for is this ...


It supports GET, POST, and DELETE. If you manually create a link on an issue you should be able to then do a GET on it to see the format to the object you need to supply for a POST. Should look like this ...

    "globalId": "appId={Your Confluence Applink Id}&pageId={Confluence Page Id}",
    "application": {
        "type": "com.atlassian.confluence",
        "name": "System Confluence"
    "relationship": "Wiki Page",
    "object": {
        "url": "https://{Your Site Host Name}{Confluence Page Id}",
        "title": "Wiki Page",
        "icon": {},
        "status": {
            "icon": {}

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you