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
Have you been looking for a solution to easily create Confluence pages directly from a Jira Cloud issue? The no code solution is here with the brand new app Elements Publish to Confluence, which work...
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