Forums

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

I am trying to get the key of linked issues in my automation and copy it to a text field

Korede Sam August 13, 2024

I have an automation that will copy linked issues to a text field. The problem is i am only getting the text value of the issue and not the hyperlink value. I want users to click on the linked key and it will take them to issue view page. 

Screenshot 2024-08-13 003018.png

1 answer

1 accepted

0 votes
Answer accepted
Michel Neeser
Community Champion
August 13, 2024

Hi @Korede Sam and welcome!

The following works for me to get the full URL of the inward link:

{{issue.issuelinks.inwardIssue.url}}

As you already have this exact expression in your rule for the "outwardIssue" – did you try appending the "url" part to the inwardIssue as well?

Let me know if this helps!

Korede Sam August 13, 2024

Thanks for your response. Yes i did and the result is still the same.Screenshot 2024-08-13 010925.pngScreenshot 2024-08-13 011058.png   We just the need the linked issue key hyperlinked

Michel Neeser
Community Champion
August 13, 2024

@Korede Sam Which custom field type are you using for the "Link key issues" field? In order to have clickable links, you'd need to use an URL field for every single link or a paragraph field.

But I am curious about your exact use case. Because issue links are already displayed and clickable on the issue itself, why do you need a separate custom field for your requirement?

Korede Sam August 13, 2024

@Michel Neeser  I am using a paragraph field. The use case is to have the field display linked issues attached to a ticket in Plan. I have a stakeholder that need this for reporting and meetings. Thanks

Michel Neeser
Community Champion
August 13, 2024

@Korede Sam In order to display hyperlinks in paragraph fields, you need to change the field renderer of that field. You can do so as follows:

  1. Click on the cog icon at the top right, then "Issues"
  2. Click on "Field configurations" in the left sidebar
  3. Select the field configuration your project is using
  4. Lookup your field "Link key issues"
  5. Click on "Renderers" on the right side of the field's row
  6. Change the renderer to "Wiki Style Renderer"

From now on, your paragraph field should display clickable hyperlinks.

 

Korede Sam August 13, 2024

Thanks @Michel Neeser  That works. I was able to get the linked issue but Jira Plan does not support paragraph field and  text field only display text . Thanks

Michel Neeser
Community Champion
August 13, 2024

@Korede Sam Glad I could help! Please consider accepting the answer, maybe it is helpful for others as well. Thank you. :-)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events