Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Setup project links from the source code of a plugin.

Victor Pablos Ceruelo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2022

Hi there.

Previously we setup the project links using jira Api, from another application that did some other tasks. More information about this implementation can be found here:

https://github.com/opendevstack/ods-provisioning-app/blob/5c7cee78b950d006772aba1f152f68dd4fc7d5d9/src/main/java/org/opendevstack/provision/services/JiraAdapter.java#L197

 

Now we want to get rid of that application (ods-provisioning-app).

Since we have a jira plugin that does some other things, our first idea was creating/updating that link from the plugin code.

We tried to find documentation, but we only found class

com.atlassian.jira.projects.pageobjects.func.rest.ShortcutsClient

without usage information and

atlassian_tutorial / space-plugin-example / src / main / java / com / atlassian / examples / MyAction.java — Bitbucket

Adding space shortcut links (atlassian.com)

But we are not sure this is what we want (highlighted in attached image).

 

project-shortcuts-img.jpg

 

Can you help us with this?

Thanks in advance.

Victor.

0 answers

Suggest an answer

Log in or Sign up to answer