How to return JIRA issue ID after calling the webhook? - jira

I'm wondering if it's possible to retrieve the newly created JIRA issue's ID as part of the response payload of the create new issue webhook?
I tried to print the response payload of the create new issue webhook, and also spent hours searching on Google, however, still couldn't find any working solution.

Related

Whatsapp Cloud - Product Catalog - Batch APIs not working

We need to create, update or delete product(s) from our catalog.
For doing this programatically we are following Meta's Product Catalog Batch API documentation in which there is an endpoint mentioned as "<product_catalog_id>/batch". We are trying to make request at this endpoint by passing the payload as mentioned in the official documentation.
But I am getting "403 forbidden" error every time. On digging deeper I found that the access token which is making this API call must have 2 permission i.e. "catalog_management" and "business_management".
I have checked the access permission for my access token and it indeed has there 2 permissions.
Can anybody please help here?
I am attaching some links below, which I am using to make the batch API calls for product catalogs.
Using this link to understand the API structure = https://developers.facebook.com/docs/marketing-api/catalog-batch/guides/send-item-updates/
Using this link to make the required payload = https://developers.facebook.com/docs/marketing-api/catalog-batch/reference/
I tried generating new access tokens 2 or 3 times. I also tried changing the payload to check whether the documentation may be outdated but nothing helped me to solve this issue.
I am expecting that the product catalog batch API works, so that we can update the products from our side.

send request to a bot with start parameter

I wonder if there is a way I can request a bot by the link like 'https://t.me/bot_name?start=XXX', and get the bot's answer? I've searched for it for a long time, but found no way.to solve it.
I've tried sending to the bot a '/start=XXX' message, but it returns a different answer from the manual operation.

Microsoft team link is not appearing for alternate update calendar events

I am using Microsoft graph API to create and update calendar events.
While creating an event with Teams selected, a calendar event will be created and an email got sent with team link but on updating the same event, team link is missing in email.
Like that for alternate update events team link is missing
Can anyone help?
To keep the meeting link, do not update the body in the request, and it should work.
The issue is happening because of a fix / feature that has been implemented on outlook end where it is cleaning up the online meeting properties if the teams meeting blob is removed from the body.
Please try the same after removing body in the request. The isOnlineMeeting value will not toggle. Hence the link will remain.
Please refer -> https://github.com/microsoftgraph/microsoft-graph-docs/issues/10618

Microsoft Graph API get message returns empty string

I am querying to get a single message from the Microsoft graph API like the following:
https://graph.microsoft.com/v1.0/users/<name>/messages/<id>
However, i am getting a response that is just an empty string. If i make the same request using the beta version of the api like the following:
https://graph.microsoft.com/beta/users/<name>/messages/<id>
The email in question is a calendar share invitation of content-type of "application/ms-tnef" and content-class of "Sharing" in the email headers.
I can't find any documentation indicating this is a known issue in the system. Is there any way to get this to work in the graph API or is the only work-around is to use the beta version instead?
Using Graph Explorer, and recreating your request using their demo accounts returns a result in v1.0. I assumed by name you meant the user's email address and I made the same request using the Guid id of the user.
https://graph.microsoft.com/v1.0/users/MeganB#M365x214355.onmicrosoft.com/messages/AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAHi4GJzAAA=
https://graph.microsoft.com/v1.0/users/48d31887-5fad-4d73-a9f5-3c356e68a038/messages/AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAIgOnGGAAA=
Have you attempted the same request using graph explorer?

Getting the shareable link to a channel message using Slack API

Is there any way for me to get the shareable link to a slack message which has been posted in a slack channel.
I looked into their web API but couldn't find any documentation that can give me the message link using the message ts (time stamp).
Never mind, was able to figure it out.
For anyone interested, The shareable URL is actually nothing but the combination of the channel id and the message time stamp.
It looks like following (don't miss the "p" before timestamp in url):
https://domain.slack.com/archives/CHANNEL_ID/pMESSAGE_TIME_STAMP_WITHOUT_ANY_DOTS

Resources