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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

808 views 2 19
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