Skip to main content

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

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.

 


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

 


Hi @TB at FSMK 

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