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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

698 views 21 12
Join discussion

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