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.
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:
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.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
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