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

Provide environment URL when possible on deployments #2162

Closed
wants to merge 3 commits into from

Conversation

aldenquimby
Copy link
Contributor

@aldenquimby aldenquimby commented Jun 6, 2023

What's in this PR?

Why

  • Goal is to allow users to quickly navigate to a deployed environment:
    image

Added feature flags

  • no

Affected issues

  • none

How has this been tested?

  • yes, updated unit tests

Whats Next?

  • nothing

@aldenquimby aldenquimby changed the title Provide environment URL when possible Provide environment URL when possible on deployments Jun 6, 2023
@@ -387,6 +387,7 @@ export const transformDeployment = async (
environment: {
id: deployment_status.environment,
displayName: deployment_status.environment,
url: deployment_status.environment_url,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, according to this public doc https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments/#api-rest-deployments-0-1-bulk-post
The url is not supported in the payload, and confirmed with internal team, the environment tab is not clickable at the moment.

And this is new to features to the ui team, so they don't have a roadmap on making it clickable so far, no ETA yet.

If you like, can you please submit a feature request to Jira software?

Thanks.

@gxueatlassian
Copy link
Contributor

Hi @aldenquimby
Thank you for your commits, unfortunately this is not possible at the moment. I'll close this one for now. Happy to re-open it once the clickable url in ui is possible in the future.

@aldenquimby
Copy link
Contributor Author

Ok thank you @gxueatlassian . In that case could you take a look at #2132 instead?

@MainasuK
Copy link

MainasuK commented Oct 24, 2023

Inspired by #2271. There is a workaround before the Jira update. Due to default link for deployment is the log_url. So we just replace the log_url to environment_url or anything else.

I test deploy the build with date as tag name. And set the URL for the link to tag as log_url. You can open the "Log" in "…" menu but redirect to the link for tag. Also, click the link in the jira deployment not open the log but the tag link I set.

Example repo: https://github.com/MainasuK/DeadPixelTest/deployments/staging

Hope this helps.

johnecon added a commit to Orfium/orfium-github-actions that referenced this pull request Jul 9, 2024
johnecon added a commit to Orfium/orfium-github-actions that referenced this pull request Jul 11, 2024
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

Successfully merging this pull request may close these issues.

3 participants