Hello,
Can you generate numbers in Jira?
For example, if we have a release process. If we move the ticket to "Approval granted", an approval number should be generated automatically.
Is that possible?
Thank you very much for your help in advance
Hello @Leena Pratheepan
There is a RANDOM() math function that can be used in Jira Automation rules, but it only randomly selects a value between 0 and 1 to sixteen decimal places, like these:
You could add more math functions to that to, say, multiply by 100 and then round the number to get an integer value.
Hello @Trudy Claspill
Thanks for your answer. But the numbers should be in the right order. I would like to create release 1, release 2 etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see.
You could use a custom field to keep track of that number in each issue. You could use an Automation rule triggered on the change of the status of the issue. Then in the rule you would retrieve a list of all issues where that field was not blank, find the issue with the largest number, add 1 to that number and insert the new number into the field in the issue that triggered the rule.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.