Skip to main content
Best answer

Jira - creating issue link via zapier webhook


Asker

Hello everyone,

I’m creating a ZAP that will create issue link between 2 issues in Jira. I used this documentation and examples. I dont have any problems when i did a GET webhook (to know issue links names and types in Jira), it was working

When i’m trying to use POST method with this data: 

I got an error. I cant explain this error, i dont send any media files to Jira. What i’m doing wrong?

 

Best answer by Troy TessaloneBest answer by Troy Tessalone

@Asker

Try adjusting the Payload Field field value.

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @Asker 

Check out some of these related articles from a GSearch on the topic: https://www.google.com/search?q=jira+unsupported+media+type


Asker
  • Author
  • Beginner
  • 5 replies
  • April 1, 2021

Hi @Troy Tessalone 

I checked articles, as i understood i need this header 

("Content-Type", "application/json")

But i got it

When i tried to make a request via Postman - the request works, but only in raw format. Trying to do the same in my zap changing Webhook Payload Type to Raw  - and i got this error

 


Troy Tessalone
Forum|alt.badge.img+14

@Asker

Error shown in screenshots appears to be related to how the fields (not shown in screenshot) are configured.

Seems to indicate those fields (right side) need to be enclosed with double quotes.

Perhaps like this: “key”:”value”


Asker
  • Author
  • Beginner
  • 5 replies
  • April 1, 2021

@Troy Tessalone

like this?

it doesnt work. Still the same error “Unexpected character code 39” I tried with spaces before : and without. 

this raw request is working via postman:

{

"outwardIssue": {

"key": "WBT-949"

},

"inwardIssue": {

"key": "REC-453"

},

"type": {

"name": "Relates"

}

}

I copied it, tried, still the same  "Unexpected character (''' (code 39)): was expecting double-quote to start field name" error


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30870 replies
  • Answer
  • April 1, 2021

@Asker

Try adjusting the Payload Field field value.

 


AndrewJDavison_Luhhu
Forum|alt.badge.img+10

@Asker 
Just checking in to see if you still need help with this?