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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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. 

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.

Suggest an answer

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

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

18 views 0 0
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