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

2 votes
Timothy Chin Community Champion Jun 01, 2013

You need to use the update issue field post function.

2 votes

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

143 views 0 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