jenkinsci / atlassian-jira-software-cloud-plugin

Atlassian Jira Software Cloud Plugin
https://plugins.jenkins.io/atlassian-jira-software-cloud/
Apache License 2.0
43 stars 46 forks source link

If the issue key is found, expose it as an environment variable #84

Open ABVitali opened 2 years ago

ABVitali commented 2 years ago

What feature do you want to see added?

I hope I'm not asking a trivial question or worse, that what I need is already possible but I wasn't good enough at reading the doc.

What I'd like to have from this plugin, if possible, is that instead of having to add a personal custom logic in my jenkinsfile to retrieve the issue key from the commit and use it along the pipeline, I'd like to reuse the one already implemented in the plugin.

This means that I would like the plugin to expose the issue key as an environment variable in such a way that I can reuse it in other steps, instead of having it used "just internally" by the plugin.

Thank you in advance and wish you a great day!

Upstream changes

No response