Skip to main content
Best answer

Jira comment data

  • June 16, 2020
  • 2 replies
  • 724 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!

Best answer by David Mercer

@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

 

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

David Mercer
Forum|alt.badge.img
  • Beginner
  • Answer
  • June 17, 2020

@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

 


  • Author
  • Beginner
  • June 17, 2020

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