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

How to script adding a new weblink to Jira issue from Jenkins pipeline DSL

Can some provide some guidance how which command in the jira-steps-plugin can be used to add a new jira weblink from a jenkins pipeline stage.

Have setup integration between latest versions Jira and Jenkins along with setting a simple pipeline script to get several of the fields from Jira (watchers, comments) and now need to create a script to edit the jira issue to add new weblinks.

Tried using the following scrpits to get the list of RemoteIssue links but keep getting error.

def watches = jiraGetIssueWatches idOrKey: ddtlID, site: jiraSite


try {
// def comments = jiraGetComments site: jiraSite idOrKey: ddtlID
// echo

def issueLink = jiraGetRemoteIssueLinks idOrKey: ddtlID, globalId: '10000', site: jiraSite, failOnError: false
} finally {
echo 'No comments found'


java.lang.NoSuchMethodError: No such DSL method 'jiraGetRemoteIssueLinks' found among steps [archive, awaitDeploymentCompletion, awsIdentity, bat, build, catchError, cfInvalidate, cfnCreate


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,934 views 11 5
Join discussion

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