Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 pass custom field values of a JIRA ticket to a CI/CD tool like Jenkins

degan I'm New Here May 21, 2021

I am trying to create a workflow where a user would create a JIRA ticket. When the JIRA ticket is created, the flow would then pass certain field values from JIRA to a CI/CD tool like Jenkins where Jenkins would run a job using these field values (Jenkins would run a script and this script would use these field values). Has anyone got any guidance on how to do this please? I see someone has already asked this question many years ago and it was never answered: https://community.atlassian.com/t5/Jira-questions/How-to-pass-custom-field-value-in-JIRA-Webhooks-URL/qaq-p/405347

Many Thanks!

1 answer

0 votes

Hello Degan and welcome to the Community!

This is a very interesting idea indeed. I do have concerns with security since you're auto triggering actions based on possible random input (ensure you use a validator before triggering), but with that aside you may have a path forward, though it may not be easy.

Ideally, you're wanting to ensure some type of validation limited selection of variables to pass through within your CI/CD workflow. You may want to explore a combination of Jira advanced issue workflows, Jira webhooks, and possibly the use of Jira automation. While we don't have an exact solution for your ask, we would suggest reviewing the following to explore options:

Additionally, there may also be options within the marketplace to allow for additional scripting and automation tasks, I found a similar post about call external rest api using post function, which may help to explore automation options.

I hope this information proves helpful.

Regards,
Stephen Sifers

degan I'm New Here May 27, 2021

Hi Stephen,

Thank you for the warm welcome and a massive thank you for the detailed information you provided.

I will give these a read and try work out the best solution for my needs.

Thank you very much.

Kind Regards,

Dean

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
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