Best answer

Jira comment data

  • 16 June 2020
  • 2 replies
  • 267 views

I’ve got Jira integrated with Zendesk. When a jira item gets updated, it will post a comment on the associated zendesk ticket.

I’ve got this working, but I can’t find the data for comments from Jira. Is this not accessible to post into the zendesk comment? 

Thanks!

icon

Best answer by David Mercer 17 June 2020, 17:32

@Bryan01 After the Jira item is updated, add a step “Find Issue” to see if the comments are included.  If not, there is an API to get the comments, but not as an out of the box Zap.  The API is https://YOURSITE.atlassian.net/rest/api/3/issue/ISSUEID/comment?orderBy=-created&maxResults=0&expand=renderedBody TO use this, you would create a Webhook Action and use the Get method with the Basic authentication.

Here is a link to the API Documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-comment-get

David

 

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 2
Badge

@Bryan01 After the Jira item is updated, add a step “Find Issue” to see if the comments are included.  If not, there is an API to get the comments, but not as an out of the box Zap.  The API is https://YOURSITE.atlassian.net/rest/api/3/issue/ISSUEID/comment?orderBy=-created&maxResults=0&expand=renderedBody TO use this, you would create a Webhook Action and use the Get method with the Basic authentication.

Here is a link to the API Documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-comment-get

David

 

Thanks David!
Setting up the Webhook with that API worked perfectly