Automatically create project shortcut for Confluence space

Nick Ugraitzky June 9, 2020

Hi,

I was working on a listener in Scriptrunner, which automatically creates the Confluence space on the ProjectCreatedEvent and links it between the space and the Jira Project.

This works fine already - now I want to have the URL for the space copied into a project shortcut aswell. I found this topic: https://community.atlassian.com/t5/Jira-Software-questions/How-can-we-create-JIRA-project-shortcuts-via-API/qaq-p/914760 but asked myself if there isn't a JAVA API I can use rather than JS or REST API.

Thanks in advance!

Nick

2 answers

1 accepted

0 votes
Answer accepted
Nick Ugraitzky June 9, 2020

Okay, found a solution myself with Scriptrunner. I excluded it from the listener and created a fragment/web item. Section is jira.project.sidebar.settings.navigation and link is /confluence/display/${project.key}

0 votes
Jelena Saveljic April 18, 2021

Hi Nick,

Can you please provide code of a listener in Scriptrunner, which automatically creates the Confluence space on the ProjectCreatedEvent and links it between the space and the Jira Project?

Nick Ugraitzky April 18, 2021
Jelena Saveljic April 19, 2021

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.6.1
TAGS
AUG Leaders

Atlassian Community Events