Hi, I have questions regarding jira-create-issue plugin in pipeline. I can create with success a jira task after a failure of a pipeline but...
1) what placeholders can I add in description/title? All the variables of the pipeline, for example $BITBUCKET_BRANCH, $BITBUCKET_REPO_SLUG or $BITBUCKET_BUILD_NUMBER?
2) is there an example to set custom fields?
Thanks
Hi Carlo,
1) what placeholders can I add in description/title? All the variables of the pipeline, for example $BITBUCKET_BRANCH, $BITBUCKET_REPO_SLUG or $BITBUCKET_BUILD_NUMBER?
You can use any variables that are available in the step where the pipe is running (either default variables or user-defined variables). Please keep in mind that some of the default variables are not available in all builds. For example, BITBUCKET_BRANCH is not available for builds against tags, or for pipelines that you trigger for a certain commit (instead of a branch).
If you need more info on variables, you can check this page:
2) is there an example to set custom fields?
This is the pipe's repo:
If you scroll down, you will see the content of the README.md file, which includes the prerequisites and an example with custom fields.
Please feel free to reach out if you have any questions!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.