Setup project links from the source code of a plugin.

Victor Pablos Ceruelo 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