Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VR9fWfX1N/hwqQMjtbe+jj
Power Automate - Using Connectors
Unanswered

Missing X-Request-JiraInstance with official Jira connector

Like (5) ShareShare
ReportReport
Posted on 31 May 2023 08:42:58 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?

  • Mtc22 Profile Picture
    16 on 11 Sep 2023 at 16:26:27
    Re: Missing X-Request-JiraInstance with official Jira connector

    You're the real MVP here, the trick worked perfectly! I'll update the thread I created with your solution, thanks for posting the solution!

  • MarioSaccoiaDev Profile Picture
    10 on 11 Sep 2023 at 13:59:38
    Re: Missing X-Request-JiraInstance with official Jira connector

    Hello @co1 , your fix works for me too... awesome!

  • co1 Profile Picture
    4 on 11 Sep 2023 at 12:34:26
    Re: Missing X-Request-JiraInstance with official Jira connector

    I was able to fix this error by removing https://. Enter the custom value of your instance without that and it works for me.

  • Mtc22 Profile Picture
    16 on 04 Sep 2023 at 16:52:02
    Re: Missing X-Request-JiraInstance with official Jira connector

    Hi! Thanks for keeping us updated on this issue. So far I'm having the same issue than Mario. I set up a new Connection and a new Flow. Set up the When a new issue is created (V2) and add the URL as a Custom Value. After that, it populates the list of Projects (meaning the URL is OK, because if it wasn't it wouldn't show the list of actual projects)

     

    Mtc22_0-1693846084075.png

     

    After a test tho, I get an error "Expression value is invalid. Value is not a valid absolute URL." I've tried inserting the URL in multiple ways, but with no luck.

     

    Mtc22_1-1693846224059.png

     

    If anyone has any ideas on what could be the issue would be great. Thanks in advance!

     

    PS: I opened a ticket with MS for this issue, seeing I'm not the only one experiencing it. If I get any response I'll update here or create a new Topic so I don't hijack this thread.

     

  • Nakata Profile Picture
    on 01 Sep 2023 at 08:36:31
    Re: Missing X-Request-JiraInstance with official Jira connector

    Yes it does but it seems there is a limit 😄  when you crossed that it seem that you need to set the project manually.  limit is most likely at 50 or 100 projects 

  • Pullox Profile Picture
    47 on 01 Sep 2023 at 08:33:01
    Re: Missing X-Request-JiraInstance with official Jira connector

    For me, the Jira Instance doesn't automatically appear for selection. To resolve this issue, I simply re-added the connector, and I switch between the two of them each time I add a trigger. This action then displays my Jira instance, although in the incorrect order with the instance listed below the project. However, once displayed, it shows all our Jira projects, allowing me to choose the one I need. I hope this explanation helps.

     

    Pullox_1-1693556919013.png

     

  • MarioSaccoiaDev Profile Picture
    10 on 01 Sep 2023 at 08:17:44
    Re: Missing X-Request-JiraInstance with official Jira connector

    Thank you, Nakata, but even when I include the project path, I still have the same error. However, maybe I'm getting off-topic in the post, so don't worry, I'll continue running some tests. In the meantime, thanks for your support.

  • Nakata Profile Picture
    on 01 Sep 2023 at 07:36:28
    Re: Missing X-Request-JiraInstance with official Jira connector

    But this is no longer the bug it seem that there is some issue with the Project ID: 

    blblblbla.atlassian.net/jira/software/c/projects/XXX/

     

    For me  I added the project as custom value XXX and also  would be carefull with the naming of the Project i am not 100% sure if an space is not an issue here in the screenshot the project name  seems to be different in both screenshots... Not sure but pretty sure this is not the stupid bug which  triggered the initial  post. 

     

  • MarioSaccoiaDev Profile Picture
    10 on 01 Sep 2023 at 07:26:50
    Re: Missing X-Request-JiraInstance with official Jira connector

    Hello Nakata, this is the test flow (quite silly), as you can see, it still generates an error (though it's no longer a connection error, but I think it's similar). It's strange that the trigger parameters request the project first and then the instance. Of course, if you don't enter the instance first, you won't find any project. I'm probably doing something wrong...

     

    flow edit.png

    error.png

  • Nakata Profile Picture
    on 01 Sep 2023 at 07:04:36
    Re: Missing X-Request-JiraInstance with official Jira connector

    1. make sure you use the v2 (preview)

    2. Make sure that you have a new flow, it seems updateing old ones is somewhat limited or simply not working. 

     

    Works  for me now i am just missing a connector which is actually checking for updates on issues 😄 i guess a 12 hour loop and sync of all data is the way to go .. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics