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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 propagate the JIRA issue ID in a Jenkins pipeline?

We have a Jenkins multi-stage pipeline that is triggered with a commit message containing the JIRA ID. 

Using the JIRA plugin (https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin), we're able to successfully create a comment about the status of the job.

However, when the 2nd phase of the pipeline is triggered, we appear to be losing the ability to add a comment back into the JIRA issue.

For example here is our pipeline

1. Commit (with commit comment "PROJ-111: Initial commit") and CI build is triggered

2. Deploy to Dev (successfully sent commit comment to PROJ-111)

3. Deploy to QA (unable to send commit comment  to PROJ-111)

Do I need to add the "JIRA: Update relevant issues" post-build step to every phase of the pipeline?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

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