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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,138
Community Members
 
Community Events
176
Community Groups

retreive accountID of JIRA user from Bitbucket pipeline

I would like to design a process which automatically create a JIRA issue against any merge into a specific branch.

First problem I am facing now is in the pipeline, the BITBUCKET_STEP_TRIGGERER_UUID is not same as the JIRA user accountId,

The person who kicked off the build ( by doing a push, merge etc), and for scheduled builds, the uuid of the pipelines user.

for example, user A has push a commit to Branch A. pipeline of Branch A starting to run.

It will automatically create a JIRA issue which reporter is the user A. 

However, as I have tested. the BITBUCKET_STEP_TRIGGERER_UUID is not same as the accountID in JIRA. so I will not know who is reporter of this issue.


Any solution to this?

 

 

1 answer

1 accepted

solved, the UUID is not accountId, i have to get the account_id from calling Bitbucket API pipeline endpoint to get the full detail of the creator which shows the correct account_id.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events