You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
How to restrict versions to only unarchived based on this script?
// Sets versions
import com.atlassian.jira.component.ComponentAccessor
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
import static com.atlassian.jira.issue.IssueFieldConstants.AFFECTED_VERSIONS
@BaseScript FieldBehaviours fieldBehaviours
def versionManager = ComponentAccessor.getVersionManager()
def issueTypeField = getFieldById(AFFECTED_VERSIONS)
def fieldOptions = versionManager.getVersions(issueContext.projectObject)
def availableOptions = []
availableOptions.addAll(fieldOptions.findAll { it.name.startsWith("T24 Transact") })
issueTypeField.setFieldOptions(availableOptions)
Hi, Atlassian Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Tre...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events