Requirement is to have for custom field Request No. value get generated while issue moved from
DRAFT state -->Request state
Then Request No. will be: 1 for first time
If some user creates an issue in same type and issue transition from Draft to Request then
For that issue the Request No. field need to be automatically 2 which is non editable.
Need suggestion how it can be possible to do this.
Thanks in advance,
-Shubham burghate
Hello,
You would need an add-on for it.
For example, you could use the Power Scripts add-on:
You could create a post function for the required transition with a code like this:
persistent number counter =
1
;
counter++
The counter variable is your number.
In this post function persistent variables are used. You can read more about persistent variables here:
https://confluence.cprime.io/display/SIL/Persistent+variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.