Importing test case in JSON format with hyperllink dosen't work

Chloé GABRIEL
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2023

Hey there,

I'm Software test engineer working with Xray Jira tool. I'm creating test cases with URL inside step. After the import into a test case ticket, seems to not recognizing the text as a hyperlink text. Whether I put a <a> tag or write 'https://', the text isn't clickable. I have to edit the text to convert it as a link after the JSON import, which is not what I would like.

Am I missing something during the writing process?

Here are the example

Xray overview
Screenshot 2023-10-05 151344.png

JSON File

Screenshot 2023-10-05 151515.png

Thank you.
Cheers, C.G

1 answer

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 4, 2023

Hi @Chloé GABRIEL 

regarding the following link it should work ba encapsulating in <a href…></a> tag:

https://hardiquedasore.medium.com/how-to-add-a-link-to-json-162fc4b6c732#:~:text=In%20another%20edition%20to%20the%20JSON%20series%2C%20we%20can%20also,to%20the%20link%20on%20click.

did you try exactly this format? eg

<a href='www.test.com'>Test</a>


Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2023

Hi  @Chloé GABRIEL 

holy moly that was a tricky one. Took me some time to then find an easy way to find out:

I added a test step with a link and then exported the steps to csv =D and then tested it to import with JSON --> worked.

the correct syntax is:

[<text_to_show>|<URL>]

eg:

[Atlassian|www.atlassian.com] 

results in:

Atlassian

 

Give it a shot and let me know if this solved your problem.

Best
STefan

Suggest an answer

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

Atlassian Community Events