Hi, i am able to get the single select customfield value with following code:
IssueManager im = ComponentAccessor.getIssueManager()
MutableIssue issue = im.getIssueObject("issue key id")
//get the value
def customFieldManager = ComponentAccessor.getCustomFieldManager()
//def cField = customFieldManager.getCustomFieldObject("customfield_10500")
def cField = customFieldManager.getCustomFieldObjectsByName("customfield name")
def cFieldValue = issue.getCustomFieldValue(cField)
return "Issue doesn't exist"
But i need to get all values of single select customfield without issue key id ?
can someone help me please
Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...
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