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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,121 views 17 14
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