I'm trying to send data via webhook from Jira Service Desk (on-premise v7.3.1) to automation on Jira Software (cloud). My problem is to access sent data because they don't look like JSON. Here is a beginning of this string:
{comment=, issue={id=71591, self=https://jira.{mydomain}.com/rest/api/2/issue/71591, key=SDKEY-1, fields={issuetype={self=https://jira.{mydomain}.com/rest/api/2/issuetype/11502, id=11502, description=System environement issue, iconUrl=https://jira.{mydomain}.com/secure/viewavatar?size=xsmall&avatarId=10304&avatarType=issuetype, name=System issue, subtask=false, avatarId=10304}, project={self=https://jira.{mydomain}.com/rest/api/2/project/12404, id=12404, key=SD, name={mydomain} ServiceDesk,(...) and so on
I captured it from {{webhookData}} variable. However I have no idea how to deal with direct variables like issue key, or issue summary. Of course I see desired information in captured string.
At the end of a day I want to achieve a clone issue functionality between this two instances (on-premise and cloud). Maybe there is a simpler way to do it?
Hi @Lech
Are you doing this with an automation for Jira rule?
If so, have you tried:
Kind regards,
Bill
I've tried dot-notation but you inspired me to do it different way :) thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.