Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,664
Community Members
 
Community Events
184
Community Groups

Is it possible to shorten a hyperlink in a Jira Structure column?

I have a custom field for a product spec that is a very long hyperlink. Is it possible to use Structure's formula to reference a field and shorten that link?

Currently "product_spec" will show the clickable link, but it is incredibly long. I'd love to take that field as a variable and only display "Link" or "Spec" if possible.

1 answer

1 accepted

2 votes
Answer accepted
David Niro _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 13, 2021

Hello Max,

David from ALM Works here. This is something that can be accomplished using a formula column and the Wiki Markup format option.

You will want your formula to look something like this:

If(custom_link,concat("[Spec|";custom_link;"]"))

"custom_link" will be your variable, mapped to the custom field with the hyperlink

Where I have "Spec", is where you will want to type whatever text you want to be shown in the column.

The last step is to select "Wiki Markup" in the list of Format options. 

Please do let us know how it goes!  If you have any additional questions or require support, you can contact us at support.almworks.com

Best Regards,
David

Hi David, 

Jumping on this thread as I'm trying to acheive something similar. 

We have a base url such as https://mydomain.someapp.com/#/ that I would like append with a string ID in a customer field. 

Using the above format, such as 

If(appID,concat("[appID|";https://mydomain.someapp.com/#/appID;"]"))

In this example, I want the hyperlink in structure field to display the appID e.g, this might be 12345 which would point to a url of https://mydomain.someapp.com/#/12345

Format is wrong, but pouring over the docs and the commuity, I am unable to find the solution. Any pointers would be much apprecaited. 

Scott.

David Niro _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 06, 2021

Hi Scott,

I was actually working on a response to your post!

So, for your scenario, we could use something like: 

concat(URL;appID)

You wouldn't need wiki markup unless you were planning on shortening the link in some way.

If there's no appID in a field, the formula will just return the base url.  to avoid this, you could incorporate the If statement like this:

IF(appID,concat(URL;appID))

In this way, it will only show a value if there is an appID present.

Please give them a try and let me know if it helps!

I'll post this in your thread as well.

Best Regards,
David Niro
www.almworks.com

Like Dave Rosenlund _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events