Marking issue as resolved in a custom transition

I have a custom transition called "Deploy". As the last post function in my transition i have "Fire a Issue Resolved event that can be processed by the listeners. " however once performed the "Resolution" field of the issue is still "unresolved"

2 answers

1 accepted

This widget could not be displayed.
Timothy Chin Community Champion Jun 01, 2013

You need to use the update issue field post function.

This widget could not be displayed.

Events are for telling other bits of the system that something has happened (e.g. "on event X, send email"). They do not change the issue in any way. (Although, you can set up listeners to do things to issues when events happen)

Timothy has the right answer for what you actually need to do - use a post function to change data during the transition.

Thanks Nic, on pointing on both important things for assigning value to some custom field: 

  • WHEN FIELD UPDATE SHOULD BE PERFORMED: Choose proper transition (QA Deploy Complete, QA Testing Passed, etc) for Post function creation, 
  • WHICH FIELD SHOULD BE UPDATED: Fields and their values depends on transition. So, after selecting a proper transition, we should add as much post function as we need fields to be updated. 

Below is example of 2 transitions: 

    1. Transition "QA Deploy Complete" will set fields: 
      1. "QA Test Percentage": 0 - We are in the beginning of testing
      2. "QA 'GO' Decision": in progress (for example) - still have no info about 'GO'
    2. Transition "QA Testing Passed" will set fields: 
      1. "QA Test Percentage": 100 - Testing finished
      2. "QA 'GO' Decision": Yes - Testing passed, we can 'GO'

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

241 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you