Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53759

jiraGetIssueRemoteLinks does not work

    Details

    • Similar Issues:

      Description

      jiraGetIssueRemoteLinks does not work if I do not provide the argument globalId.

      WorkflowScript: 6: Missing required parameter: "globalId" @ line 6, column 17.

      I don't know what globalId to provide, I just want to list the remote links (name and url would be nice). 

      I tested with version 1.4.4 of the plugin

        Attachments

          Activity

          Hide
          zougi Frederic Rousseau added a comment -

          Or maybe I did not understand the documentation? https://jenkinsci.github.io/jira-steps-plugin/steps/issuelink/jira_get_remote_issuelinks/ it says globalId is optional

          Show
          zougi Frederic Rousseau added a comment - Or maybe I did not understand the documentation? https://jenkinsci.github.io/jira-steps-plugin/steps/issuelink/jira_get_remote_issuelinks/  it says globalId is optional
          Hide
          nrayapati Naresh Rayapati added a comment -

          Look at the JIRA documentation, it varies based the JIRA instance configuration, the error is from the JIRA server itself, so please look at the JIRA API and docs based on the JIRA version you are using.

          https://docs.atlassian.com/software/jira/docs/api/REST/7.12.2/#api/2/issue-getRemoteIssueLinks
          https://developer.atlassian.com/server/jira/platform/using-fields-in-remote-issue-links/

          Show
          nrayapati Naresh Rayapati added a comment - Look at the JIRA documentation, it varies based the JIRA instance configuration, the error is from the JIRA server itself, so please look at the JIRA API and docs based on the JIRA version you are using. https://docs.atlassian.com/software/jira/docs/api/REST/7.12.2/#api/2/issue-getRemoteIssueLinks https://developer.atlassian.com/server/jira/platform/using-fields-in-remote-issue-links/
          Hide
          zougi Frederic Rousseau added a comment -

          Hi Naresh, thank you for your quick reply. Indeed I only read the jira-steps-plugin doc. I understand now! I got it working using the globalId. I let you close the issue. Indeed it looks like there is a problem in jira-steps-plugin regarding method jiraGetRemoteIssueLinks. The doc says globalId is optional..but it's needed

          Show
          zougi Frederic Rousseau added a comment - Hi Naresh, thank you for your quick reply. Indeed I only read the jira-steps-plugin doc. I understand now! I got it working using the globalId. I let you close the issue. Indeed it looks like there is a problem in jira-steps-plugin regarding method jiraGetRemoteIssueLinks. The doc says globalId is optional..but it's needed
          Hide
          nrayapati Naresh Rayapati added a comment -

          Per the above comment, closing this request. Frederic Rousseau please don't mind to reopen this one or new one if you are facing any issues.

          Show
          nrayapati Naresh Rayapati added a comment - Per the above comment, closing this request. Frederic Rousseau please don't mind to reopen this one or new one if you are facing any issues.

            People

            • Assignee:
              nrayapati Naresh Rayapati
              Reporter:
              zougi Frederic Rousseau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: