The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.