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 need to increment a custom field by 1 on a post function. It is seemingly a simple ask, but I have some nuance that I cannot find an answer for.
I'm really struggling to figure out how to achieve this. I've read a dozen or so questions\replies related to this but none of them are exactly what I need. My assumption is that I need to use Scriptrunner to do this.
You can try using Jira Automation and add 1 to it everytime the transition is executed: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
Regards,
Fabian
@Fabian Lim I don't think that works though because automation won't let me get as specific as I need. As I mentioned (and seen in screenshot) I have 2 transitions that both have the same starting and ending status. Automation does not let you specify a transition. It only lets you specify starting and ending status. (Unless I am overlooking something.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unless I am overlooking something, automation can only specify the from and to status. That doesn't work for me because I have 2 distinct transitions with the same "from" and "to". I need my automation to only apply to 1 of those. Which is why I think it needs to be a post function on the specific transition.
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.