Hello,
I hope you are doing well!
I would like to know if is there a possibility to set the earlier version that was created in project, when the issue is created.
I have scriptrunner, and JSU Automation suite plugins. Maybe it will help.
Thanks,
David.
Hi David,
We have the example here for ScriptRunner for Jira Cloud of how to set a fix version inside a post function, and this should help to achieve your requirement.
Regards,
Kristian
Hello,
I hope you are doing well!
Thank you or the answer.
I would like somehow to manipulate the values, and take the latest one!
Latest one - the latest version created in the project!
Thanks,
David.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
The Jira API does not give a version created date but if you call the Get Project Versions endpoint, each version has a start date on it.
Using this you could get the version with the most recent start date and get this to set as the version on an issue.
I hope this helps.
Regards,
Kristian
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.