Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jira configuration undefined variable headers.atlassian_domain #131

Closed
richardkyk opened this issue Oct 5, 2020 · 4 comments
Closed

Jira configuration undefined variable headers.atlassian_domain #131

richardkyk opened this issue Oct 5, 2020 · 4 comments

Comments

@richardkyk
Copy link

I'm trying to call the Jira endpoint "/search" from the dashboard but I'm getting the error down below.

error:Object
type:"invalid_proxy_configuration_interpolation"
message:"Proxy configuration template interpolation error: Undefined variable headers.atlassian_domain used in template at "

I am able to get an Auth ID, and if I inspect it I can see the accessToken, which I have also verified that it works in Postman so the process for authenticating is all good. But when I am testing the request it doesn't seem to work.

Also, is there anyway to change the base URL? According to the Jira documentation, "Requests that use OAuth 2.0 (3LO) are made via api.atlassian.com (not https://your-domain.atlassian.net)."

@Frenchcooc
Copy link
Contributor

@richardkyk Jira configuration file has been updated with this PR #136. Can you update the Pizzly version you are using by pulling master?

@richardkyk
Copy link
Author

@Frenchcooc Perhaps "/ex/" should not be included in the baseURL as you need to reach the "https://api.atlassian.com/oauth/token/accessible-resources" endpoint to get the cloudId before you can call the "https://api.atlassian.com/ex/jira/(cloud_id)/rest/api/2/project" endpoint.

@Frenchcooc
Copy link
Contributor

@richardkyk I'm not sure what are the best options here. What do you recon?

@Frenchcooc
Copy link
Contributor

Closing this issue for now. Feel free to reopen it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants