cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cegekaJG
Regular Visitor

Missing X-Request-JiraInstance with official Jira connector

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?

56 REPLIES 56
Thai_Nguyen_Dev
Frequent Visitor

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. 

cegekaJG
Regular Visitor

No, I couldn't find anything so far.

prameelaj
Frequent Visitor

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.

cegekaJG
Regular Visitor

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
Frequent Visitor

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
Regular Visitor

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

cegekaJG
Regular Visitor

@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.

Hi Cegeka,

 

Can you post the screenshot here?

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

cegekaJG
Regular Visitor

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"
}

 

Thankyou so much @cegekaJG ! That's very helpful. Just a confirmation Now Webhook became Automation on Jira Platform right?

cegekaJG
Regular Visitor

No, Webhooks are still in their own section in the settings.

https://developer.atlassian.com/server/jira/platform/webhooks/

I also just finished talking to support. Unfortunately, they were not able to provide an estimated resolution date, but they confirmed that they are actively working on it. Fingers crossed.

Trent_O
Advocate II
Advocate II

Does anyone have an update on this issue? I am getting the same error.

MIrizarry
Frequent Visitor

We are having the same issue. Any ETA when this is going to be fixed?

cegekaJG
Regular Visitor

I was messaged by support yesterday and asked to try the trigger again, but I got the same error. I doubt it will be fixed for others, but you could give it another shot.

I was told by support that they are working on a fix and it should be out no later than July 11th. So fingers crossed.

Just tried mine and got the same error again. Support told me July 11th or sooner.

francesco_ity
Frequent Visitor

Today I got the same error: "X-Request-JiraInstance is not provided." 

 

Helpful resources

Announcements

Calling all User Group Leaders and Super Users! Mark Your Calendars for the next Community Ambassador Call on May 9th!

This month's Community Ambassador call is on May 9th at 9a & 3p PDT. Please keep an eye out in your private messages and Teams channels for your invitation. There are lots of exciting updates coming to the Community, and we have some exclusive opportunities to share with you! As always, we'll also review regular updates for User Groups, Super Users, and share general information about what's going on in the Community.     Be sure to register & we hope to see all of you there!

April 2024 Community Newsletter

We're pleased to share the April Community Newsletter, where we highlight the latest news, product releases, upcoming events, and the amazing work of our outstanding Community members.   If you're new to the Community, please make sure to follow the latest News & Announcements and check out the Community on LinkedIn as well! It's the best way to stay up-to-date with all the news from across Microsoft Power Platform and beyond.    COMMUNITY HIGHLIGHTS   Check out the most active community members of the last month! These hardworking members are posting regularly, answering questions, kudos, and providing top solutions in their communities. We are so thankful for each of you--keep up the great work! If you hope to see your name here next month, follow these awesome community members to see what they do!   Power AppsPower AutomateCopilot StudioPower PagesWarrenBelzDeenujialexander2523ragavanrajanLaurensMManishSolankiMattJimisonLucas001AmikcapuanodanilostephenrobertOliverRodriguestimlAndrewJManikandanSFubarmmbr1606VishnuReddy1997theMacResolutionsVishalJhaveriVictorIvanidzejsrandhawahagrua33ikExpiscornovusFGuerrero1PowerAddictgulshankhuranaANBExpiscornovusprathyooSpongYeNived_Nambiardeeksha15795apangelesGochixgrantjenkinsvasu24Mfon   LATEST NEWS   Business Applications Launch Event - On Demand In case you missed the Business Applications Launch Event, you can now catch up on all the announcements and watch the entire event on-demand inside Charles Lamanna's latest cloud blog.   This is your one stop shop for all the latest Copilot features across Power Platform and #Dynamics365, including first-hand looks at how companies such as Lenovo, Sonepar, Ford Motor Company, Omnicom and more are using these new capabilities in transformative ways. Click the image below to watch today!   Power Platform Community Conference 2024 is here! It's time to look forward to the next installment of the Power Platform Community Conference, which takes place this year on 18-20th September 2024 at the MGM Grand in Las Vegas!   Come and be inspired by Microsoft senior thought leaders and the engineers behind the #PowerPlatform, with Charles Lamanna, Sangya Singh, Ryan Cunningham, Kim Manis, Nirav Shah, Omar Aftab and Leon Welicki already confirmed to speak. You'll also be able to learn from industry experts and Microsoft MVPs who are dedicated to bridging the gap between humanity and technology. These include the likes of Lisa Crosbie, Victor Dantas, Kristine Kolodziejski, David Yack, Daniel Christian, Miguel Félix, and Mats Necker, with many more to be announced over the coming weeks.   Click here to watch our brand-new sizzle reel for #PPCC24 or click the image below to find out more about registration. See you in Vegas!       Power Up Program Announces New Video-Based Learning Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram. These include a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the image below to find out more!   UPCOMING EVENTS Microsoft Build - Seattle and Online - 21-23rd May 2024 Taking place on 21-23rd May 2024 both online and in Seattle, this is the perfect event to learn more about low code development, creating copilots, cloud platforms, and so much more to help you unleash the power of AI.   There's a serious wealth of talent speaking across the three days, including the likes of Satya Nadella, Amanda K. Silver, Scott Guthrie, Sarah Bird, Charles Lamanna, Miti J., Kevin Scott, Asha Sharma, Rajesh Jha, Arun Ulag, Clay Wesener, and many more.   And don't worry if you can't make it to Seattle, the event will be online and totally free to join. Click the image below to register for #MSBuild today!   European Collab Summit - Germany - 14-16th May 2024 The clock is counting down to the amazing European Collaboration Summit, which takes place in Germany May 14-16, 2024. #CollabSummit2024 is designed to provide cutting-edge insights and best practices into Power Platform, Microsoft 365, Teams, Viva, and so much more. There's a whole host of experts speakers across the three-day event, including the likes of Vesa Juvonen, Laurie Pottmeyer, Dan Holme, Mark Kashman, Dona Sarkar, Gavin Barron, Emily Mancini, Martina Grom, Ahmad Najjar, Liz Sundet, Nikki Chapple, Sara Fennah, Seb Matthews, Tobias Martin, Zoe Wilson, Fabian Williams, and many more.   Click the image below to find out more about #ECS2024 and register today!     Microsoft 365 & Power Platform Conference - Seattle - 3-7th June If you're looking to turbo boost your Power Platform skills this year, why not take a look at everything TechCon365 has to offer at the Seattle Convention Center on June 3-7, 2024.   This amazing 3-day conference (with 2 optional days of workshops) offers over 130 sessions across multiple tracks, alongside 25 workshops presented by Power Platform, Microsoft 365, Microsoft Teams, Viva, Azure, Copilot and AI experts. There's a great array of speakers, including the likes of Nirav Shah, Naomi Moneypenny, Jason Himmelstein, Heather Cook, Karuana Gatimu, Mark Kashman, Michelle Gilbert, Taiki Y., Kristi K., Nate Chamberlain, Julie Koesmarno, Daniel Glenn, Sarah Haase, Marc Windle, Amit Vasu, Joanne C Klein, Agnes Molnar, and many more.   Click the image below for more #Techcon365 intel and register today!     For more events, click the image below to visit the Microsoft Community Days website.      

Tuesday Tip | Update Your Community Profile Today!

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   We're excited to announce that updating your community profile has never been easier! Keeping your profile up to date is essential for staying connected and engaged with the community.   Check out the following Support Articles with these topics: Accessing Your Community ProfileRetrieving Your Profile URLUpdating Your Community Profile Time ZoneChanging Your Community Profile Picture (Avatar)Setting Your Date Display Preferences Click on your community link for more information: Power Apps, Power Automate, Power Pages, Copilot Studio   Thank you for being an active part of our community. Your contributions make a difference! Best Regards, The Community Management Team

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Super User of the Month | Ahmed Salih

We're thrilled to announce that Ahmed Salih is our Super User of the Month for April 2024. Ahmed has been one of our most active Super Users this year--in fact, he kicked off the year in our Community with this great video reminder of why being a Super User has been so important to him!   Ahmed is the Senior Power Platform Architect at Saint Jude's Children's Research Hospital in Memphis. He's been a Super User for two seasons and is also a Microsoft MVP! He's celebrating his 3rd year being active in the Community--and he's received more than 500 kudos while authoring nearly 300 solutions. Ahmed's contributions to the Super User in Training program has been invaluable, with his most recent session with SUIT highlighting an incredible amount of best practices and tips that have helped him achieve his success.   Ahmed's infectious enthusiasm and boundless energy are a key reason why so many Community members appreciate how he brings his personality--and expertise--to every interaction. With all the solutions he provides, his willingness to help the Community learn more about Power Platform, and his sheer joy in life, we are pleased to celebrate Ahmed and all his contributions! You can find him in the Community and on LinkedIn. Congratulations, Ahmed--thank you for being a SUPER user!

Tuesday Tip: Getting Started with Private Messages & Macros

Welcome to TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   This Week's Tip: Private Messaging & Macros in Power Apps Community   Do you want to enhance your communication in the Community and streamline your interactions? One of the best ways to do this is to ensure you are using Private Messaging--and the ever-handy macros that are available to you as a Community member!   Our Knowledge Base article about private messaging and macros is the best place to find out more. Check it out today and discover some key tips and tricks when it comes to messages and macros:   Private Messaging: Learn how to enable private messages in your community profile and ensure you’re connected with other community membersMacros Explained: Discover the convenience of macros—prewritten text snippets that save time when posting in forums or sending private messagesCreating Macros: Follow simple steps to create your own macros for efficient communication within the Power Apps CommunityUsage Guide: Understand how to apply macros in posts and private messages, enhancing your interaction with the Community For detailed instructions and more information, visit the full page in your community today:Power Apps: Enabling Private Messaging & How to Use Macros (Power Apps)Power Automate: Enabling Private Messaging & How to Use Macros (Power Automate)  Copilot Studio: Enabling Private Messaging &How to Use Macros (Copilot Studio) Power Pages: Enabling Private Messaging & How to Use Macros (Power Pages)

Users online (7,712)