Greetings. I have looked around and found pieces of code but no real solution. I don't care if it is scriptrunner or not but I am open to suggestions.
In the workflow I want to add a post function to a few of the transitions that go to a number custom field and increase it by 1. So if it was blank before it becomes 1. if it is 3 it becomes 4.
This seems rather simple but I am hitting my head on the wall of what to do. I am on JIRA 7.6 and ScriptRunner 5.5.2 . Again, open to suggestions.