Groovy Post Function to Transition an Issue from workflowTransition=1 to workflowTransition=2

Nishant Kansal February 21, 2018

Hi,

I am trying to develop a groovy post function that shall conditionally move the issue from one state to another. For e.g.; if the issue is currently in Linked Status "To Do" (workflowTransition=1), then based upon a condition, I would want issue to move to Linked Status "Need More Information" (workflowTransition=2).

I have studied the API's (our jira version is 6.3.1) in this regards and found below one for my case.

com.atlassian.jira.workflow

I also studied the scripts available on net for reference. However, not able to figure out the exact API's for my case.

Can anyone please help me in this regards with API's or a code snippet that I shall enhance per my requirement?

Thanks 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events