any way to automatically create JIRA links when publishing a confluence page?

My company uses both JIRA and Confluence.

 

In JIRA I have a project named "ABC" and an issue number "123"... so the ID for the issue is "ABC-123"

 

Over in Confluence, I'd like to type in "ABC-123", and when I hit "Publish", I'd like it to automatically notice that "ABC-123" is in fact a JIRA ticket, and create the JIRA link automatically in Confluence. I don't want to click on something else, search for it, etc. If I could just do a one-time configuration of Confluence, and say "JIRA projects are over here..." and then it would automatically recognize them.

 

Is this possible, and I just haven't found the docs yet?

1 answer

Hi Dan,

You could use ScriptRunner for Confluence and listen to the PageCreateEvent and then create the ticket in Jira automatically. 

 

https://scriptrunner.adaptavist.com/latest/confluence/ConfluenceEventHandlers.html#_adding_an_event_handler

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 14 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

99 views 2 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you