You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I want to automate release creation. For that I would love to check if a release already exists, so that there are no duplicates. How can I achieve this in Jira Automation?
If there isn't a more convenient approach, you can always use the "Send request" action and work with the Jira Cloud REST API.
In this case, you can query the versions in the project. And then look up the version's name in the JSON. (You can even test if the string "1.2.3-beta" occurs in the JSON string for a low-cost solution.)
Thank you Aron. That looks nice.
What is the best practice for authorization? I'd not like to put my credentials in and the automation user does not allow reading the versions as it seems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Although this article was written 3 years ago, I think the best (and only?) option is still generating an API token, then encoding this to an auth token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is, that I cannot add a limited local user in Jira Cloud and I do not want to add my admin credential API keys in the automation.
Is there any way to get to a limited scope API credentials or have the automation user do this somewhat "locally"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.