Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12522

Creating RemoteComment bug

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I found some defect in work of web method addComment(string in0, string in1, RemoteComment in2) of RemoteComment class.
      When I tried to set author of new comment, author was not set as I wanted, but current user:

      JIRASoap.RemoteComment rc = new global::JIRA_API_Class.JIRASoap.RemoteComment();
      JIRASoap.RemoteUser ru = new global::JIRA_API_Class.JIRASoap.RemoteUser();
      rc.body = strBody;
      rc.roleLevel = "";
      rc.author = "stella";
      JiraService.addComment(strSessionId, strIssueKey, rc);

      It is C# source

      Then I downloaded the latest version of jira-rcp-plugin (version 3.8-1) source and fix some files, to add this feature. You can see these files in attachment.
      My code marked with "// THIS WAS ADDED" comment.

      I hope this helps you. Thank you for good product

      P.S. Sorry for my english

      Attachments

        1. IssueServiceImpl.java
          36 kB
        2. RemoteComment.java
          4 kB

        Issue Links

          Activity

            People

              tim@atlassian.com TimP
              221444504d19 Artiom Dylevich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: