Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

groovy.lang.MissingMethodException: No signature of method: DefaultIssueService.validateTransition() Edited

Using following code, am trying to close epic and it is resulting in the below error, can anyone help here..

def issueService = ComponentAccessor.issueService
def issueInputParameters = issueService.newIssueInputParameters()
issueInputParameters.setComment("This Epic closed automatically because all the issues in this Epic are closed.")
def transitionOptions = new TransitionOptions.Builder()

def loggedInUser = ComponentAccessor.jiraAuthenticationContext.loggedInUser
def transitionValidationResult = issueService.validateTransition(loggedInUser,, actionId, issueInputParameters, transitionOptions)



[c.o.s.jira.workflow.AbstractScriptWorkflowFunction] Script function failed on issue: ATOTSS1-1205, actionId: 61, file: null
groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.bc.issue.DefaultIssueService.validateTransition() is applicable for argument types: (com.atlassian.jira.user.DelegatingApplicationUser, Long, String...) values: [XX2249(JIRAUSERXXXXX), 1967508, 61, com.atlassian.jira.issue.IssueInputParametersImpl@6d380f4b, ...]
Possible solutions: validateTransition(com.atlassian.jira.user.ApplicationUser, java.lang.Long, int, com.atlassian.jira.issue.IssueInputParameters, com.atlassian.jira.workflow.TransitionOptions), validateTransition(com.atlassian.jira.user.ApplicationUser, java.lang.Long, int, com.atlassian.jira.issue.IssueInputParameters)


1 answer


The error indicates that the types don't match.

Try replacing

def loggedInUser = ComponentAccessor.jiraAuthenticationContext.loggedInUser


ApplicationUser loggedInUser = ComponentAccessor.jiraAuthenticationContext.loggedInUser 

and add an extra import

import com.atlassian.jira.user.ApplicationUser  

Next the method want an int for the actionId and you seem to be passing in a String. Convert actionId to its int value and use that instead.


Let me know if this works!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

149 views 1 4
Read article

Community Events

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

Events near you