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

Modifie issue Workflow post-function

Hi everybody,


I need help you,

I'm trying to program a post function in one of  workflow transaction


Only want modify some fields in the issue but I don't know why don't save the changes.

Jira no produce any error.

My versión of Jira is JIRA Service Desk  3.15.3

I paste code here




import org.apache.log4j.Logger
import org.apache.log4j.Level
import com.atlassian.jira.event.ProjectUpdatedEvent
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.event.issue.IssueEvent
import com.atlassian.jira.component.ComponentAccessor // Import para gestionar componentes
def log = Logger.getLogger("com.acme.CreateSubtask")
def issueManager = ComponentAccessor.getIssueManager()
def issueObject = issueManager.getIssueObject(issue.key)
issueObject.setDescription( "New Description");




Thank you

Sergi Sacristán Martínez






Log in or Sign up to comment
Community showcase
Posted in Jira Service Desk

How has Jira Service Desk increased productivity in your org?

Hi Jira Service Desk community, Atlassian is on a mission to unleash the potential of all teams, and we know that tools are just one piece of that puzzle. With Jira Service Desk, we have productiv...

168 views 0 3
Join discussion

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