How I can add web link into jira issue

locklockm July 23, 2018

I want to add a web link into jira issue.

 

I know to add a issue link with that :

issue = jira.issue(issue_source)
issue2 = jira.issue(issue_destination)
jira.create_issue_link('Duplicate', issue, issue2, None)

 but I don't know to add web link,

 

Thanks

3 answers

1 vote
Jonathan Muse _Appfire_
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.
July 24, 2018

Hi, I don't know much about Python but I know this would be pretty easy to do in an add-on called Power Scripts. You could solve this with one line of code like this:

createWebLink(key, "http://www.google.com", "Super-duper search");

I know this was not the answer you were looking for but I thought an alternative solution would be better than no solution. :)


0 votes
Deleted user July 30, 2018

Links in Jira are between issues. You could perhaps create a custom field to store the link in?

0 votes
Wouter Bruinings
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.
July 26, 2018

I assume you are using some Python library. Which one is it that you are using? 

I would advice to check their documentation and if it is not available either create a feature request or use a different library/implementation.

Regards, 

Wouter 

Suggest an answer

Log in or Sign up to answer