Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

New transition for Jira project

Edited

so I have been asked to crete a new transition for a Jira Project:

  1. When any item is moved to DONE or REJECTED in the X project…

Set the resolution to DONE and the resolution date to current date time

  1. When any item is moved out of DONE or REJECT in the X project…..

Set the resolution to BLANK (aka unresolved or empty) and the resolution date to empty

 

Is this even possible? I have gone into the project settings > Automation

But I don't really understand the logic. I assume he needs to specifiy what he means by 'item' anyway?

2 answers

@Paul Sheraton -

Hi Paul:

You can use what @Samuel described and yes you don't need automation for Jira.  It is all handled within the WF associated with your project.

When "RESOLUTION" field is set to "DONE", the associated date "Resolved" field will be automatically populated with the date/time stamp of the transition that took place.

When issue moves out of "DONE"/"REJECTED", you just need to ensure that "RESOLUTION" field is set to "NONE" via the post function call in the transition(s)  (i.e. DONE to OPEN transition).  The "Resolved" field will also be automatically get removed by default.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Hello Paul,

What you've described is possible, but you don't need to do it through automation.

In the workflow, select the transition(s) into the DONE or REJECTED statuses (or the transition that you want this behavior for):

Screen Shot 2022-01-12 at 11.24.42 AM.png

In the dialog that appears, select "Post Functions". Then select "Add post function":

Screen Shot 2022-01-12 at 11.24.57 AM.png

Select "Update Issue Field":

Screen Shot 2022-01-12 at 11.25.08 AM.png

Then, select the resolution field and the value of the resolution that you want to set:

Screen Shot 2022-01-12 at 11.30.22 AM.png

If you want to clear the resolution field, then in the dropdown select the "None" option. You would need to do this configuration for every transition that you want this behavior on. If you have multiple transitions going into the Done or Rejected status, then I would suggest that you "Use an existing transition" option so that you only need to make the changes once.

Hope this helps

Thanks I will try it first on my free account!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,741 views 21 12
Read article

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