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
If your company uses Jira and Tempo and deals with managed services, you probably have already struggled with these tools to find a solution that gives you a way to create or simulate contrac...
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