I am looking for a groovy script to swap the Component field value as a post-function. Ex: On clicking on an action, the component value must change from "A" to "B". The script I'd tried is given below,
ComponentManager componentManager = ComponentManager.getInstance()
compList = ["A":"B" , "CAT":"DOG"]
if (compList[componentManager] != null)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG