I am working on a JIRA plugin which gets external links. I want to add/ remove those links from JIRA ISSUE. How can I do that programatically?
Hi,
Please explain more about what you are trying to achieve...
I want to help, but you are not clear enough
@Nir Haimov I am trying to integrate JIRA with test result of other tool. As a part of that I am writing a Jira plugin. Now as a part of that, the tool will call a servlet API of JIRA plugin and will pass the test result uri. I want to associate the test result uri wth the JIRA issue. There can be 1 or more such links.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nir Haimov I am looking for internal API for this rest api
POST http://localhost:8090/jira/rest/api/latest/issue/TST-1/remotelink
from https://developer.atlassian.com/server/jira/platform/jira-rest-api-for-remote-issue-links/
Because if I want to call it I will need a http client. But I am within JIRA process space, so looking for an direct JIRA API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK,
I understand now what you are trying to achieve.
But it seems like you got the solution (the link you sent me).
Where are you stuck in the process?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was looking for the JAVA API instead of REST API. At last got it from https://developer.atlassian.com/server/jira/platform/creating-remote-issue-links/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nir Haimov Now instead of showing the links under External Link section, I want to show it under a custom field or a custom section (if possible, have a custom section to show those link) along with a add button and a delete button
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow this tutorial:
https://developer.atlassian.com/server/jira/platform/adding-content-to-the-jira-view-issue-page/
It will guide you to create a section in the issue view screen.
Once you will create the section just set it content to be your links and add any additional functionality you want
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Subhajit Bhuiya you are welcome :)
If i solved your issue and there is nothing more you need, please close this question by marking my answer as the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.