Custom domain not working with base64 authentication

Bassem alameddine January 17, 2025

I have successfully created a custom domain for my company and i was trying to run the following endpoint 

 

{custom-domain}/secure/QuickCreateIssue!default.jspa?decorator=none&pid=10033&issuetype=10035

but i am getting this error stating that i am not authenticated

 

{
    "errorMessages": [
        "You are not logged in, and do not have the permissions required to create an issue in this project as a guest."
    ],
    "errors": {}
}
Though when i run the same endpoint from my baseurl domain with the custom domain disabled from the administration area it works normally 
what might be the problem here? if anyone can help i appreciate it 
Thank you

1 answer

0 votes
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2025

Hi @Bassem alameddine 

Are you using that URL to created issues programmatically in some script or via a terminal? Or do you execute this in your browser?
I'm asking because there are actual REST API endpoints for this The Jira Cloud platform REST API
I don't think the URL you are using is made to handle basic authentication.

 

 

Bassem alameddine January 17, 2025

we have an app that you can login to your jira account and use it to create issue directly into jira using the cloud rest api the login process is done through the base64 authorization parameter
Screenshot 2025-01-17 131759.png
so what i understand is that we cannot use the custom domain to call endpoint?

 

Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2025

Ok that's postman.

You should not be using /secure/QuickCreateIssue!default.jspa?decorator=none&pid=10033&issuetype=10035 for that. This is not meant to be used outside of the user interface.

Just as a test: can you use this with the custom domain?
{custom-domain}/rest/api/3/issue/{issueIdOrKey}. HTTP method is GET

Bassem alameddine January 17, 2025

yeah all the app works except for the quickCreateIssue
is this related with the endpoint itself? what do you mean by outside the user interface, you mean outside Jira itself?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events