Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I'm looking to clearly understand the authentication setup to the Jira REST API from ChatGPT's custom gpt feature.
Yes and No ... I have used Power BI and Excel to read pull data from Jira and push to ChatGPT for purposes of getting updated stories, test cases, and release notes (as an example) based on new requirements. ChatGPT direct to Jira -- no (and maybe that isn't even possible -- you might need some scripting middle man).
I may have some wisdom to share ...
The rest APIs are well documented AND provide Postman collections. If you can figure out Postman, you've got 25% of you interface answers (I think). the documentation for Jira core is here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about and the postman collection is at the top right of the page.
Next is the Rest API key - which is challenging in of itself but I documented the process just yesterday.
Go to the profile security page and select Create and Manage API Tokens. The page for creating APIs will have a URL like this (and actually may be this): https://id.atlassian.com/manage-profile/security/api-tokens
The ChatGPT side isn't something I've played with in a few months so I will leave it alone.
Hope this helps
@David Nickell thanks for your response! I'm sorry for the slow reply. Your reply is great because it is right up my alley. Like - uncanny. I have been using PowerBI with Jira and have been using that to help give me insight into learning how to use the Jira REST API better - more specifically, how Jira tables and fields are laid out. I've started working on my own GPT for Jira and its going ok but nothing to write home about yet. :)
We also recently started working on an integration with Smartsheet that has been - a learning experience.
Anyway - thank you for your response. It is much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jamie Edmondson I'm working on something similar. Would love to discuss any progress you've made. I've been stuck on getting my GPT to POST to Jira with either Basic Auth or OAuth. GET requests work just fine. But for POST requests, Basic Auth is getting hung up on an XSRF token, and whatever internal client my GPT has doesn't seem to allow you to supply Jira's purpose-made header for skipping XSRF. Identical requests work just fine when run from a text-based REST client in my IDE.
Have you run into any of this yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've got this working now with OAuth. Let me know if you need a hand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm still struggling to get the POST request working (for creating a ticket). It's giving me the XSRF token issue. ChatGPT itself tells me it cannot edit the headers. How did you end up solving this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's been a while since I was actively working on GPT Actions. I'm quite sure I eventually got this working with OAuth, but I don't remember the specific steps I took.
I think part of it might have been getting the right URL to my Jira Cloud instance?
Sorry, I don't think I'm much help, but I _can_ share my Action with you, because I've stashed it on GitHub:
https://github.com/IainDavis/Nova/blob/main/actions/jira_atlassian.net.yml
If you'd like to set up a Zoom call or something, maybe seeing what you're up against will jog my memory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.