Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to clear the Resolution field when you change workflow status on specific one? Edited

Honestly, I can't find similar questions for my issue.
https://prnt.sc/11r7pnt
I need to do this:
When task moved from Closed status to any other status (except Resolved) the Resolution field and resolution date should be cleared, and
When task moved from Resolved status to any other status (except Closed) the Resolution field and resolution date should be cleared.
Sorry for mistakes. I try to do better with my writing skill.

2 answers

2 accepted

0 votes
Answer accepted

Check each transition - the ones that "un-resolve" issues, by landing in a non-closed status, should have "clear the resolution" set as a post-function.

I understand how to do the second part but not the first part.
Could you explain it in detailed way for me?

Go to the workflow and edit it.  You can then click on each transition in turn to get a panel that offers tabs for conditions, validators and post-functions.  Hit the post-function tab, and you should find a list of several post-functions (indexing, storing, firing event etc), to which you can add one called "update issue field" (That's the one built into Jira, it's always available, without apps/plugins).  Select resolution and the first value for "<none>" and it'll save the function, displaying it as "clear the resolution".

I've done it a couple of times, don't sure if that's what customer wants.
I think this option is the same as "Clear the field value". If you change a status from one to another - the field Resolution will be cleared.
For example, I have a Closed status in an issue and change it to any available. The field Resolution will be cleared except the status Resolved. The same works backwards but what if I have Design status and change it to any other except Closed, Resolved it will clear the Resolution field as well, but I need to do it only from Closed, Resolved statuses.
Can I set some a validator or a post function to check a status of an issue?

@Nic Brough _Adaptavist_ 

Sorry for misunderstanding your answers. I finally get it. It's much easier than I thought before.

Like John Funk likes this
0 votes
Answer accepted
John Funk Community Leader Apr 20, 2021

Hi @Volodymyr  - Welcome to the Atlassian Community!

I don't use server so I don't have that version in front of me to look at. But is there a Post Function available for the Transition in the Workflow to Clear Fields? 

Yes. I can set the post function "Clear Field Value (JSU)" and clear the Resolution field, but I need to do this only in the specified way:
When task moved from Closed status to any other status (except Resolved) the Resolution field and resolution date should be cleared, and
When task moved from Resolved status to any other status (except Closed) the Resolution field and resolution date should be cleared.
I really don't understand how to do it.

John Funk Community Leader Apr 20, 2021

Place the post function on every transition to any status other than the Closed status. 

Clear both the Resolved and Resolution fields. 

@John Funk 
Yes. Now I understand what I need to do. Thank you!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

243 views 2 1
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