web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Missing X-Request-Jira...
Power Automate
Unanswered

Missing X-Request-JiraInstance with official Jira connector

(5) ShareShare
ReportReport
Posted on by 30

The "When a new issue is returned by a JQL query (V2)" trigger provided by the official Jira connector always results in an 400 error. The error message is as follows: 

 

X-Request-JiraInstance is not provided

 

This is despite the fact that I've provided my instance:

cegekaJG_0-1685522008490.png

A glance at the flow checker reveals that the URL does, in fact, get replaced by a 32-digit code, and is included in the request:

cegekaJG_1-1685522329932.png

The only thing out of place, as far as I could tell, was that the header in the request is called "X-Request-Jirainstance", and not "X-Request-JiraInstance". Is this the problem? If so, where could I report this, and what would be the workaround?

Categories:
I have the same question (0)
  • Thai_Nguyen_Dev Profile Picture
    14 on at

    Have you found a solution for this problem? I'm having a similar issue where I get the "X-Request-JiraInstance" as well but I provided the URL in the same format as you for the instance. 

  • Jakob Gillinger Profile Picture
    30 on at

    No, I couldn't find anything so far.

  • prameelaj Profile Picture
    26 on at

    I am getting below error in the trigger When an issue is closed.  Can someone help on why i am getting this error?  the same instance i used in several other flows, it is working fine.

     

    X-Request-JiraInstance is not provided.

  • Jakob Gillinger Profile Picture
    30 on at

    I just finished talking to support - apparently, this is a known issue with all the events of the connector. Normally you'd use the V1 events instead, but they explicitly direct you to use the experimental triggers, so currently there's nothing we can do but wait.

    Supposedly, it should be resolved in a few days.

  • prameelaj Profile Picture
    26 on at

    Thanks cegekaJG.  I am not able to use the V1 as it is asking me to use the V2 when i run it.

     

    Let me wait till the issue is closed.

  • Sumit2000 Profile Picture
    10 on at

    Did, anyone got the solution or any alternative for triggering the flow, when new issue is created on JIRA.

  • Jakob Gillinger Profile Picture
    30 on at

    @Sumit2000 I've built an alternative by creating a webhook on Jira, which sends a HTTP request that triggers the flow.

    If you want to try it, use the "When a HTTP request is received" event, and enter the generated URL in the webhook on Jira. Make sure to replace "%2F" with "/", otherwise it won't work.

  • prameelaj Profile Picture
    26 on at

    Hi Cegeka,

     

    Can you post the screenshot here?

  • Sumit2000 Profile Picture
    10 on at

    Hi @cegekaJG , Thanks for the help! Can you please help me what will be the sample payload for the received URL from JIRA?

  • Jakob Gillinger Profile Picture
    30 on at

    Here is what the event looks like in the flow:

    cegekaJG_0-1686551799245.png

     

    Here's a sample payload from the webhook. You can also use webhook.site to test a duplicate of your webhook.

    Keep in mind that for the schema, you should only include the necessary elements, since they might not be present in other requests.

     

    {
    "changelog":
     {
     "id": "10017",
     "items":
     [
     {
     "field": "description",
     "fieldId": "description",
     "fieldtype": "jira",
     "from": null,
     "fromString": null,
     "to": null,
     "toString": "Description"
     }
     ]
     },
    "issue":
     {
     "fields":
     {
     "aggregateprogress":
     {
     "progress": 0,
     "total": 0
     },
     "aggregatetimeestimate": null,
     "aggregatetimeoriginalestimate": null,
     "aggregatetimespent": null,
     "attachment":
     [
     ],
     "components":
     [
     ],
     "created": "2023-06-01T15:19:23.128+0200",
     "creator":
     {
     "accountId": "633546b",
     "accountType": "atlassian",
     "active": true,
     "avatarUrls":
     {
     "16x16": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "24x24": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "32x32": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "48x48": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png"
     },
     "displayName": "J",
     "self": "https://c.atlassian.net/rest/api/2/user?accountId=633546",
     "timeZone": "Europe/Vienna"
     },
     "customfield_10001": null,
     "customfield_10002": null,
     "customfield_10003": null,
     "customfield_10004": null,
     "customfield_10005": null,
     "customfield_10006": null,
     "customfield_10007": null,
     "customfield_10008": null,
     "customfield_10009": null,
     "customfield_10010": null,
     "customfield_10014": null,
     "customfield_10015": null,
     "customfield_10016": null,
     "customfield_10017": null,
     "customfield_10018":
     {
     "hasEpicLinkFieldDependency": false,
     "nonEditableReason":
     {
     "message": "Die \u00fcbergeordnete Verkn\u00fcpfung ist nur f\u00fcr Jira Premium-Benutzer verf\u00fcgbar.",
     "reason": "PLUGIN_LICENSE_ERROR"
     },
     "showField": false
     },
     "customfield_10019": "0|i0000f:",
     "customfield_10020": null,
     "customfield_10021": null,
     "customfield_10022": null,
     "customfield_10023": null,
     "customfield_10024": null,
     "customfield_10025": null,
     "customfield_10026": null,
     "customfield_10027": null,
     "customfield_10028": null,
     "customfield_10029": null,
     "customfield_10030": null,
     "customfield_10031": null,
     "customfield_10032": null,
     "customfield_10033":
     [
     ],
     "customfield_10034": null,
     "customfield_10035": null,
     "customfield_10039": "10000",
     "description": "Description",
     "duedate": null,
     "environment": null,
     "fixVersions":
     [
     ],
     "issuelinks":
     [
     ],
     "issuerestriction":
     {
     "issuerestrictions":
     {
     },
     "shouldDisplay": true
     },
     "issuetype":
     {
     "avatarId": 10318,
     "description": "Tasks track small, distinct pieces of work.",
     "entityId": "aa3021a9-96dd-4b9d-ab64-75267baae6be",
     "hierarchyLevel": 0,
     "iconUrl": "https://c.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium",
     "id": "10001",
     "name": "Task",
     "self": "https://c.atlassian.net/rest/api/2/issuetype/10001",
     "subtask": false
     },
     "labels":
     [
     ],
     "lastViewed": "2023-06-02T09:20:24.703+0200",
     "priority":
     {
     "iconUrl": "https://c.atlassian.net/images/icons/priorities/medium.svg",
     "id": "3",
     "name": "Medium",
     "self": "https://c.atlassian.net/rest/api/2/priority/3"
     },
     "progress":
     {
     "progress": 0,
     "total": 0
     },
     "project":
     {
     "avatarUrls":
     {
     "16x16": "https://c.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10410?size=xsmall",
     "24x24": "https://c.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10410?size=small",
     "32x32": "https://c.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10410?size=medium",
     "48x48": "https://c.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10410"
     },
     "id": "10000",
     "key": "SND",
     "name": "Sandbox",
     "projectTypeKey": "software",
     "self": "https://c.atlassian.net/rest/api/2/project/10000",
     "simplified": true
     },
     "reporter":
     {
     "accountId": "633546b",
     "accountType": "atlassian",
     "active": true,
     "avatarUrls":
     {
     "16x16": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "24x24": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "32x32": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "48x48": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png"
     },
     "displayName": "Jakob Gillinger",
     "self": "https://c.atlassian.net/rest/api/2/user?accountId=633546b",
     "timeZone": "Europe/Vienna"
     },
     "resolution": null,
     "resolutiondate": null,
     "security": null,
     "status":
     {
     "description": "",
     "iconUrl": "https://c.atlassian.net/",
     "id": "10000",
     "name": "To Do",
     "self": "https://c.atlassian.net/rest/api/2/status/10000",
     "statusCategory":
     {
     "colorName": "blue-gray",
     "id": 2,
     "key": "new",
     "name": "New",
     "self": "https://c.atlassian.net/rest/api/2/statuscategory/2"
     }
     },
     "statuscategorychangedate": "2023-06-01T15:19:23.685+0200",
     "subtasks":
     [
     ],
     "summary": "New Automate Test",
     "timeestimate": null,
     "timeoriginalestimate": null,
     "timespent": null,
     "timetracking":
     {
     },
     "updated": "2023-06-02T09:59:42.197+0200",
     "versions":
     [
     ],
     "votes":
     {
     "hasVoted": false,
     "self": "https://c.atlassian.net/rest/api/2/issue/SND-3/votes",
     "votes": 0
     },
     "watches":
     {
     "isWatching": true,
     "self": "https://c.atlassian.net/rest/api/2/issue/SND-3/watchers",
     "watchCount": 1
     },
     "workratio": -1
     },
     "id": "10002",
     "key": "SND-3",
     "self": "https://c.atlassian.net/rest/api/2/10002"
     },
    "issue_event_type_name": "issue_updated",
    "timestamp": 1685692782236,
    "user":
     {
     "accountId": "633546b",
     "accountType": "atlassian",
     "active": true,
     "avatarUrls":
     {
     "16x16": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "24x24": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "32x32": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png",
     "48x48": "https://secure.gravatar.com/avatar/a57d901c49916ef08bf4069638ab53b8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FJG-5.png"
     },
     "displayName": "Jakob Gillinger",
     "self": "https://c.atlassian.net/rest/api/2/user?accountId=633546b",
     "timeZone": "Europe/Vienna"
     },
    "webhookEvent": "jira:issue_updated"
    }

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard