Skip to main content
Question

Is there a way for Zapier to pull data from Jira ticket history?

  • December 28, 2023
  • 3 replies
  • 149 views

Not sure if this was addressed in a different how to.

Right now I am using a Zap to send message in Slack whenever a Jira ticket is moved (e.g. Decision → Approved)

In the Slack message, I want to include information on who made the update, but could not find the related field in Zapier.

Is there a way I could pull the history data from a Jira ticket to be included in the Slack message? Or is there another way?

Thanks in advance

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

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • December 29, 2023

Hi @TB at FSMK 

Good question.

First, check with Jira Support to determine if that data point is available as part of the Jira Ticket data from their API.

You may need to try configuring a Custom Action with the help of AI to make an API request.

 


  • Author
  • Beginner
  • January 3, 2024

I managed to figure out that I need the API Request in Jira Software Cloud action.

However, now I’m stuck on configuring the action to output the data I need.

For instance, if the JIRA Rest API code looks like this, how should I go about ‘translating’ that into Zapier’s action

jira = JIRA(options, basic_auth=(USERNAME, PASSWORD))

issue = jira.issue('FOO-100', expand='changelog')
changelog = issue.changelog

for history in changelog.histories:
for item in history.items:
if item.field == 'status':
print 'Date:' + history.created + ' From:' + item.fromString + ' To:' + item.toString

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • January 3, 2024

Hi @TB at FSMK 

Perhaps try creating a custom action with the help of AI.