• 121
    • 49
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Currently it is not possible to add a comment via REST Remote API on behalf of another user.

      It would be great if REST can perform this function in the future.

       

      Update

      This functionality is now available for users of the JIRA REST API when building add-ons for JIRA Cloud. For more information, read our documentation.

            [JRACLOUD-35124] Add a comment via REST API on behalf of another user

            How is this still not resolved? It seems this has been a problem for at least 5 years.

            Brett Powell added a comment - How is this still not resolved? It seems this has been a problem for at least 5 years.

            +1 for this. Any workarounds would be appreciated as well, maybe using OAuth2 with client ID & secret?

            Kieran Fisher added a comment - +1 for this. Any workarounds would be appreciated as well, maybe using OAuth2 with client ID & secret?

            +1 - I need the ability to do this via REST API. Why can we raise a ticket on behalf but not add a comment in the same manner??!?! Crazy.

            Brett Wilson added a comment - +1 - I need the ability to do this via REST API. Why can we raise a ticket on behalf but not add a comment in the same manner??!?! Crazy.

            Spider added a comment -

            Spider added a comment - If this functionality is already implemented, where are the examples? I don't see such a possibility here: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-post nor here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/#api-rest-api-3-issue-issueidorkey-comment-post

            janSteffes added a comment -

            +1

            janSteffes added a comment - +1

            This feature is crucial for each enterprise, which has a 3rd party solution as a customer facing Customer portal with a Jira Service Desk behind it.

            Alex Ziegltrum added a comment - This feature is crucial for each enterprise, which has a 3rd party solution as a customer facing Customer portal with a Jira Service Desk behind it.

            Leon D added a comment -

            Does it possible in 2024? And how to set another author from admin when adding a comment ? It's not smart when I have to change token from admin to other user

            Leon D added a comment - Does it possible in 2024? And how to set another author from admin when adding a comment ? It's not smart when I have to change token from admin to other user

            Ok, thanks. It says above it is now possible, so assumed I was just doing it wrong.

            Kev Trasler added a comment - Ok, thanks. It says above it is now possible, so assumed I was just doing it wrong.

            @Kev Trasler:

            It's not possible. Author is automatically set to performer of API call.

            Paweł Jakimiak added a comment - @Kev Trasler: It's not possible. Author is automatically set to performer of API call.

            Does anyone have an example of how to add/set the author

            e.g.

            // code placeholder
            {    "body""Test Comment from @mention",    "author": {        "name""username"    }} 

             

            Kev Trasler added a comment - Does anyone have an example of how to add/set the author e.g. // code placeholder {     "body" :  "Test Comment from @mention" ,     "author" : {         "name" :  "username"     }}  

              Unassigned Unassigned
              dchua Daryl Chuah (Inactive)
              Votes:
              356 Vote for this issue
              Watchers:
              192 Start watching this issue

                Created:
                Updated: