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

Pull Request unique identifier

miq68 June 1, 2023

 

2023-06-01_20-51-46.png

Hi 

When a Pull Request is created a unique identifier is also created.

Can anybody confirm which one it is in the Screenshot?

 

 

2 answers

1 accepted

2 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2023

The Id for the pull request in the picture is 541, to id under it is the short commit Id.

miq68 June 1, 2023

Thanks.

Like Mikael Sandberg likes this
1 vote
Travis Eno
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!
June 1, 2023

In addition to Mikael's answer, it can be helpful to know that the pull request id is only unique within the same repository. 

From the API documentation -> Link

idThe pull request's unique ID. Note that pull request IDs are only unique within their associated repository.
miq68 June 1, 2023

Hi

Thanks for further input.

I think it is the one that I need as a value to a parameter, which is used to automatically detect and scan a Pull Request  in SonarCloud.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events