Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Inserting a hyperlink in Version Description field using Automation

Rees_ Ian
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 5, 2024

I am using Jira Automation to get some information from an external system which I then want to add to a Jira Version Description. I am appending a url of the external system to the current version description.   E.g.

varMyURL=https://madeupurl.com/some_stuff?abc=123

I then use Web Request PUT /rest/api/3/version/{id} to set the description as follows

{  "description": "{{varDescription}} {{varMyURL}} "}

Where VarDescription is the original Description that I have read into a smart Variable earlier.  This sort of works except my Version Description now looks like this but AS TEXT NOT A CLICKABLE LINE “Original description "https://madeupurl.com/some_stuff?abc=123" but the actual url is much longer.  I would like to get it to appear as a hyperlink that can be clicked on and/or at least put a line separator between the original description text and the url in the new description but I can't work out how to do either of those things. Can anybody help please?

1 answer

1 accepted

0 votes
Answer accepted
Derek Fields (RightStar)
Community Champion
February 5, 2024

The Description field in the Release doesn't support rich text or html. I don't think that you can get the desired result. 

Rees_ Ian
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 5, 2024

Is there a way of inserting a newline ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events