A plugin to attach build and deployment details to a Jira issue. It can use oauth client id / oauth secret OR use Jira connect key. For further information on how to use the plugin with harness there is a video `https://www.youtube.com/watch?v=YIKbLeY1-gI`.
Example
kind: pipeline
name: default
steps:
- name: jira oauth
image: plugins/jira
settings:
client_id:
from_secret: jira_client_id
client_secret:
from_secret: jira_client_secret
instance: droneio
project: TT
environment_name: staging
log_level: debug
pipeline: bash_plugin
# alternatively
- name: jira connect application
image: plugins/jira
settings:
connect_key:
from_secret: jira_connect_key
instance: droneio
project: TT
environment_name: staging
log_level: debug
pipeline: bash_plugin
Properties
client_id
stringrequiredThe Jira Oauth2 client ID. You must also pass the client secret.
Secret recommendedDefault: none
client_secret
stringrequiredThe Jira Oauth2 client secret. You must also pass the client id.
Secret recommendedDefault: none
connect_key
stringrequiredThe Jira Connect key. This is instead of passing oauth information.
Secret recommendedDefault: none
instance
stringrequiredThe Jira instance. The prefix on your atlassian hostname.
Default: none
project
stringrequiredThe Jira project. eg TEST
Default: none
environment_name
stringrequiredThe Jira environment name.
Default: none
pipeline
stringrequiredThe pipeline name.
Default: none
log_level
stringoptionaldebug/info Level defines the plugin log level. Set this to debug to see the response from jira
Default: none
link
stringoptionalThe link to the Jira deployment.
Default: none