Hello Team,
Thanks in advance.
we are creating structures automatically using scriptrunner.
we want Manual Adjustment should be check by default.
Please suggest a way to allow manual adjustments.
Hello Pavan,
The easiest way to do this is with Scriptrunner is to call ManualAdjustmentService:
import com.atlassian.jira.component.ComponentAccessor as CA
def plugin = CA.pluginAccessor.getPlugin('com.almworks.jira.structure')
def mas = plugin.getModuleDescriptor('adjustment-service').module
// structure ID, flag value:
mas.setEnabledForStructure(353, true)
Please change the structure's id appropriately.
I hope this helps! Please feel free to contact us directly at support.almworks.com if you need further assistance.
Best regards,
Stepan Kholodov
ALM Works
Hello @Stepan Kholodov _ALM Works_ ,
Thanks for your solution.
I used the same way but same throwing me error like check exist or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please share the script you use in full and also clarify what exactly you want it to do? And also please tell us what you get in the Result tab when you try to run the script - is there a particular error there?
Best regards,
Stepan Kholodov
ALM Works
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.
Hello Pavan,
Please contact us directly at support.almworks.com for proper support. And please send us the script in full along with the error.
Best regards,
Stepan Kholodov
ALM Works
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.