We have a custom field(select list) with values 1,2,3...70 and everytime the issue is created under a project we need that this field should auto increment itself. no number should appear twice and we dont want to do it manually. We do not have JMWE but we do have scriptrunner.
Can this be achieved?
It's possible to do with Scriptrunner, but the script would be quite involved - it would have to run a search to find the current largest number, add one to it, insert an entry into the custom field options, then apply the new option to the issue.
I would not waste my time with this. I would question the use for it. I cannot think of any use for a field like this that could not be done better and more easily in another way.
Could you tell us why you have arrived at such a terribly useless bodge? What is the problem you are trying to solve?
Hello @Nic Brough _Adaptavist_ ,
First of all I am so glad that you took my question. Thankyou for helping people in Atlassian community.
So coming back to use case- I want to pull those issues in the dashboard for reporting purpose. We can then export that report from the dashboard gadget.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events