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
Accepted answer
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,918 views 19 22
Read article

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