Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

jira-create-issue plugin

carlopoliti-questit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2024

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

1 answer

2 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events