Short links are only short sometimes

Micheal Planck
Contributor
February 23, 2023

My link appears like this on a Confluence page: (note Risks | Cost reduction).

My link appears like this in the Jira description field: (note Risks | Cost reduction).
My link appears like this in the description field of a Jira Issue/Filter table on a Confluence page: (note https://mycompanygroup.atlassian.net/wiki/spaces/KEY/pages/2105737217/Risks#Cost-reduction).
Why? For the love of God, Montresor! WHY?
It would seem obvious that you would write a short link description routine, and then use that code everywhere you display a link. However, you have clearly written the code to display a link in every single instance where a link might be displayed, and you just missed this one because it was a layer deeper.
You will never fix this. In a decade this comment will remain, unaddressed, untouched, unnoticed; lost forever to the mysteries of time, just like Fortunato.

10 answers

1 vote
Micheal Planck
Contributor
April 18, 2023

My apologies for my harsh comments. But Atlassian's approach to writing software is so alien to human experience that I sometimes forget there are (allegedly) human beings on the other end.

At this point, if we found out Atlassian was staffed entirely by ChatGPT, would anyone be surprised?

1 vote
Micheal Planck
Contributor
February 27, 2023

In Jira, when you view the description field, the link is displayed as a short link,

In Confluence, when you view the link, it is displayed as a short link.

In Confluence, when you view the link in a Jira Issue Table with the Description field, it is not a short link, The Jira Issue table in Confluence does not render the Description field the same as it does in Jira. This is the issue. The reason is probably because the rendering code is different. This is what I said in my very first post.

You do not appear to understand my comments, my issue, or what a short link is, even when presented with a picture; but you still felt comfortable gaslighting me about there being a problem at all and blaming my browser.

I can see why you are a Community Leader: you fit right in with Atlassian customer service.

1 vote
Micheal Planck
Contributor
February 27, 2023

I don't understand your comment. The screenshot shows the problem. Do you not see the problem in the screenshot?

The first two links are as expected. The third link, in the table, under description, is not as expected.

EDIT: I am using Chrome as a browser.

1 vote
Micheal Planck
Contributor
February 26, 2023

This code:

"As per" /link

/jira (single issue view)

/jira (table view)

 

Produces this:

image.png

 

If I do /jira (single issue), the link is invisible in the pop-up, but if I select "Full Screen" view then the link is properly displayed as short.

Are you saying you can do a /jira table view and links in your description fields are correctly displayed in Confluence Cloud? Why would we have different results?

1 vote
Micheal Planck
Contributor
February 26, 2023

Put a link in a Jira issue description field. It comes out short, like above.

Put the same link on a Confluence page. Again, short.

Then include the Jira issue in a Jira Issue/Filter table on a Confluence page. Make it display the description field in the table. The link comes out long, like above.

That is the problem: it works most of the time. But the Jira Issue/Filter table clearly uses its own code to display fields, rather than the code that Jira uses to display fields; otherwise, the fields would look the same regardless of which context they were invoked in.

Not only is this a bug; it is evidence of bad programming.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2023

Yes, you are right, it's not your browser, I had to assume it was because of the information you had shared.  I am completely wrong about that.

It is this way because the tables don't understand that when they extract data from Jira, there may be stuff that you want to format differently, because you have not wrapped the incoming data in a link-rendering macro.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2023

No, I don't see a problem in screenshots.  The description from the issue is being rendered as it is supposed to be - it's been extracted from Jira, it's not a macro that you've put links into so it can be rendered differently.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2023

That sounds like you have a problem with your browser, as it's working fine for me and the people I work with.  Your screenshot is not showing a problem there either!

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2023

This all works the same way for my users, so I'm a bit stuck on what you are seeing.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2023

Eh?  Could you explain the problem a bit more?  None of my users have a problem with any of the links they get sent.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events