Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,864
Community Members
 
Community Events
168
Community Groups

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

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

172 views 1 6
Read article

Atlassian Community Events