question

Mira Hybl avatar image
Mira Hybl asked John Wang Deactivated edited

Integration Jira - stop working

Hello,

We're using Jira Integration in Glip and it stops working after 11.9.2019 the payload is sent from Jira but I'm getting the following error

{"status":"error","message":"Your request was accepted, however a post was not generated","error":"Invalid Custom payload: no supported fields","validation":[]}

So they probably changed the format or you added strict validation.

Best Regards,
Mira

integrations
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered

Could you please post some screenshots, I am still not very clear of which JIRA integration you are talking about.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Mira Hybl avatar image
Mira Hybl answered

Just try to add integration into channel and type "jira" into search field. There is only one integration called Jira.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ben Lawlor avatar image
Ben Lawlor answered

Just adding to this thread that we are having the same issue with our JIRA cloud integration with Glip.

I checked this morning and the webhook link in JIRA and in Glip match, and I return a 'Status:OK' message but no updates are posted in our glip rooms. Here is one example attached


1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hamby14138 avatar image
hamby14138 answered

We're seeing the same thing on our side. Our dev's sent us the text below on their efforts so far.



Between September 10th5pm and September 11th8am the integration between Glip and Jira stopped functioning. I have done testing and have confirmed that Jira is indeed sending out its webhooks. I took one of these hooks and manually called them against the URL provided for the Jira integration in Glip. The web server responded with “Status: OK” but did not post any messages to the conversation where the integration was enabled. There is no configuration of the integration on Glip’s side except “Add integration” and setup from there is passing the URL it provides into Jira, so we are confident that this is not a misconfiguration at fault, especially since it was working autonomously for a couple of months before failing without any modifications by us.

We’ve tried deleting/re-adding the integration multiple times to no avail. We have also tried applying the integration to other conversations than our “Jira Activity” conversation also to no avail. Can we please engage RC support and figure out next steps on this? Thanks!
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Mira Hybl avatar image
Mira Hybl answered

I setup new webhook in Jira just to catch what sending Jira using this cool site https://webhook.site and then I tried to send that payload using curl into Glip webhook and I'm getting that validation error what I sent in the first post.

Here is an example of payload from Jira


{"timestamp":1569410826788,"webhookEvent":"jira:issue_created","issue_event_type_name":"issue_created","user":{"self":"https://xxx.atlassian.net/rest/api/2/user?accountId=5b0bfbcc6c27b84d00ce96d0","accountId":"5b0bfbcc6c27b84d00ce96d0","emailAddress":"\"?\"","avatarUrls":{"48x48":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/PM-1.png?size=48&s=48","24x24":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/PM-1.png?size=24&s=24","16x16":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/PM-1.png?size=16&s=16","32x32":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/PM-1.png?size=32&s=32"},"displayName":"Petr","active":true,"timeZone":"Europe/Berlin","accountType":"atlassian"},"issue":{"id":"12139","self":"https://xxx.atlassian.net/rest/api/2/issue/12139","key":"NIM-2052","fields":{"statuscategorychangedate":null,"issuetype":{"self":"https://xxx.atlassian.net/rest/api/2/issuetype/10004","id":"10004","description":"A problem which impairs or prevents the functions of the product.","iconUrl":"https://xxx.atlassian.net/secure/viewavatar?size=medium&avatarId=10303&avatarType=issuetype","name":"Bug","subtask":false,"avatarId":10303},"timespent":null,"project":{"self":"https://xxx.atlassian.net/rest/api/2/project/10000","id":"10000","key":"NIM","name":"Nimpee","projectTypeKey":"software","simplified":false,"avatarUrls":{"48x48":"https://xxx.atlassian.net/secure/projectavatar?pid=10000&avatarId=10514","24x24":"https://xxx.atlassian.net/secure/projectavatar?size=small&s=small&pid=10000&avatarId=10514","16x16":"https://xxx.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10000&avatarId=10514","32x32":"https://xxx.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10000&avatarId=10514"}},"fixVersions":[],"customfield_10033":null,"customfield_10034":null,"aggregatetimespent":null,"resolution":null,"customfield_10035":null,"customfield_10036":null,"customfield_10037":null,"resolutiondate":null,"workratio":-1,"watches":{"self":"https://xxx.atlassian.net/rest/api/2/issue/NIM-2052/watchers","watchCount":0,"isWatching":true},"lastViewed":null,"created":"2019-09-25T13:27:06.683+0200","customfield_10020":null,"customfield_10021":null,"customfield_10022":null,"customfield_10023":null,"priority":{"self":"https://xxx.atlassian.net/rest/api/2/priority/3","iconUrl":"https://xxx.atlassian.net/images/icons/priorities/medium.svg","name":"Medium","id":"3"},"customfield_10024":null,"customfield_10026":null,"labels":["!acl","!e2e","@cisco","api","discovery"],"customfield_10017":null,"customfield_10018":[],"customfield_10019":null,"timeestimate":null,"aggregatetimeoriginalestimate":null,"versions":[],"issuelinks":[],"assignee":null,"updated":"2019-09-25T13:27:06.683+0200","status":{"self":"https://xxx.atlassian.net/rest/api/2/status/10017","iconUrl":"https://xxx.atlassian.net/images/icons/statuses/generic.png","name":"Reported","id":"10017","statusCategory":{"self":"https://xxx.atlassian.net/rest/api/2/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"New"}},"components":[],"timeoriginalestimate":null,"description":"","customfield_10010":null,"customfield_10011":"1|i005hj:","customfield_10012":null,"customfield_10013":null,"timetracking":{},"security":null,"customfield_10008":null,"aggregatetimeestimate":null,"attachment":[],"customfield_10009":{"hasEpicLinkFieldDependency":false,"showField":false,"nonEditableReason":{"reason":"PLUGIN_LICENSE_ERROR","message":"Portfolio for Jira must be licensed for the Parent Link to be available."}},"summary":"E2E path lookup - ACL vs. object-groups evaluation","creator":{"self":"https://xxx.atlassian.net/rest/api/2/user?accountId=5b0bfbcc6c27b84d00ce96d0","name":"petr","key":"5b0bfbcc6c27b84d00ce96d0","accountId":"5b0bfbcc6c27b84d00ce96d0","emailAddress":"petr@unknown.io","avatarUrls":{"48x48":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=48&s=48","24x24":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=24&s=24","16x16":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=16&s=16","32x32":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=32&s=32"},"displayName":"Petr","active":true,"timeZone":"Europe/Berlin","accountType":"atlassian"},"subtasks":[],"customfield_10040":null,"customfield_10041":null,"customfield_10042":null,"reporter":{"self":"https://xxx.atlassian.net/rest/api/2/user?accountId=5b0bfbcc6c27b84d00ce96d0","name":"petr","key":"5b0bfbcc6c27b84d00ce96d0","accountId":"5b0bfbcc6c27b84d00ce96d0","emailAddress":"petr@xxx.io","avatarUrls":{"48x48":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=48&s=48","24x24":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=24&s=24","16x16":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=16&s=16","32x32":"https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/5b0bfbcc6c27b84d00ce96d0/8395e4bc-b5c3-4d97-a8dc-d07e068461a2/128?size=32&s=32"},"displayName":"Petr","active":true,"timeZone":"Europe/Berlin","accountType":"atlassian"},"aggregateprogress":{"progress":0,"total":0},"customfield_10000":"{}","customfield_10001":null,"customfield_10004":null,"customfield_10038":null,"customfield_10039":null,"environment":null,"duedate":null,"progress":{"progress":0,"total":0},"votes":{"self":"https://xxx.atlassian.net/rest/api/2/issue/NIM-2052/votes","votes":0,"hasVoted":false}}}}
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

R López avatar image
R López answered

Our Dev-Team uses Jira integration with RingCentral and we have exactly the same problem described in this thread. There is an official answer from RingCentral staff about this? This feature it's vital for our daily workflow.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Aaron Jensen avatar image
Aaron Jensen answered

I fixed this problem by setting the `Content-Type` HTTP header to "application/json".

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys