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,293,867
Community Members
 
Community Events
165
Community Groups

Need help to create a Formula column with hyperlink joining field reference

Hi all, 

Just gettig into using the formula colum in JIRA strucure and trying to generate a a reference hyperlink using the content of a custom field. 

Custom field has 12345 as a string. 

Base url is http://domain.application.com/item/

Trying create a reference link that acheives the following colum 12345 which is a link to Base url + Custom field. 

I have followed the atlassian wiki markup format "[string|url]" but the format is incorrect and returns ??? 

Any pointers would be much appreciated.  

1 answer

1 accepted

1 vote
Answer accepted

Hi @pritchsc ,

David from ALM Works here.  Just wanted to follow up here with my response to the other post.

For your scenario, we could use something like: 

concat(URL;appID)

If there's no appID in a field, the formula will just return the base URL.  To avoid this, you could incorporate an 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!

Best Regards,
David Niro
www.almworks.com

Hi David,

Thanks for the information - much appreicated. Almost there with the config. 

I now see the url correctly displayed, but would like to make the url hyperlink have a the appID as the reference that is displayed, which when clicked would direct the user to the url issue. 

I read that this could be acheived using some notation like [Atlassian|http://atlassian.com], but have not managed to make this work using a reference to a custom field. Is that possible? 

Was thinking this might look like: 

IF(appID,[concat("appID:"; appID)|concat("https://application.domain.com/#/items/";appID))

Thanks, Scott. 

Like Dave Rosenlund _Tempo_ likes this

Hello Scott,

You are very welcome!  

Please let me know if the formula below works for you.  

IF(appid,concat("[";appid;"|";"baseurl";appid;"]"))

I look forward to your feedback!

Best Regards,
David Niro
www.almworks.com

Like # people like this

Hi David, 

Worked perfectly! Thanks for your support and sharing your valuable time, although a small deal, it was something that I was sure the product could support.

Great product!

Regards,

Scott.

Like Dave Rosenlund _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

336 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you