You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Use case: Issue was set as Done but the it was recognized some work still needs to be done. I know I can set it with post function in my workflow. But then I would need to create transitions from Done to every other step and I would like to avoid that. I'd like to use automation here but I have problems. The only action which is somehow related seems to be "Edit Issue fields". But then I can only set the Resolution to some value. There's no option to clear previously set value. How to achieve that?
Hi Seba,
So we don't support clearing the resolution field with our 'Edit issue' action currently, mainly because Jira only supports clearing the resolution field through a workflow post-function: https://codebarrel.atlassian.net/browse/AUT-441
The edit API simply doesn't let you clear the resolution field.
Atlassian have also published more info on this: https://confluence.atlassian.com/jirakb/howto-bulk-clear-resolution-635896313.html
So I'm afraid for now the only option would be to add a transition in your Jira workflow with a post-function to clear the resolution field. Then you could trigger this transition with an Automation rule (or any other way).
Hope that helps.
Cheers,
Andreas
Yeap, I know these steps and what I really wanted to avoid is
"Repeat steps 2 and 3 for each status for which the Resolution field will need to be cleared."
But your answer is clear, thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Łukasz Wójcik @andreas ,
Would you be able to guide me how you achieved to trigger the "Transition" . The on;y option that i can see is the actual Transition to a Status .
Many thanks.
Cheers,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Helo Raj!
I meant Transition to Status. So it seems that Atlassian only allows you to manipulate the Resolution when status is being changed. And you can only do that by workflow. Very inconvenient.
Considering all the answers in this subject you can see that there is no option to set automation so it allows you to manipulate this field directly.
Cheers,
Łukasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can be cleared either on status transition post function - clear field value.
Or, via automation (advanced edit issue fields:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should be also a solution. I had a user accidently close a ticket and our re-open workflow didn't reset the resolution to null. We fixed the workflow but needed to fix the old tickets he closed. Using this advanced edit field fixed the tickets that went through the incorrect workflow.
Thanks Yaron!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yaron,
I am getting the following error :
(Could not find valid 'id' or 'name' in resolution object. (resolution))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please note -
In the EDIT block you selected Resolution field to be updated but with no value.
unselect it and lease only the additional fields to run.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried that as well, and I am receiving the same error, even if I created an automation from scratch, with no field selected
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note that feature requests have been opened at https://jira.atlassian.com/browse/JRACLOUD-75100 and https://jira.atlassian.com/browse/JRASERVER-11444.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed, in Automation for JIRA add-on there is no chance to clear field resolution.
Correct me if I'm wrong but do you want to clear resolution field and leave this issue in Done status? Are you sure that is correct procedure to reopen issues? Best practises (also Atlassian reccomend these) are that resolution field should be set during transition to last status and clear resolution when issue is transition from last status (in your case Done status).
In cases where I have to modify resolutions in bulk (e.g. wrong resolution, issue is not in Done status but resolution is set) I create a "loop tranistion" (e.g. from Done to Done like in your case) and set function to clear resolution. Then I transition this issues using loop.
I know, this is not an automatic solution but, as I mention, in my workflows when user reopen issue status is changed and resolution is cleared.
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seba,
Correct me if I'm wrong but do you want to clear resolution field and leave this issue in Done status?
No, in my case issue should go to some other state. Cases which I try to cover is mostly when somebody accidentally moved the item to Done. In our workflow it is possible to go to Done from any of the statuses.
Example case: I've moved the item from Testing to Done then I realized I moved wrong item or moved it too fast but there are still some cases to check or any other scenario which explains the work still need to be done. I am able to move the item back because my workflow allow me to do that. By the resolution is not cleared at this moment. As I said, I know hot to clear it just in Jira but the only solution I see is creating several transitions. I try to avoid that and use Automation here. But Automation seems to lack "Clear field value" option...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm in the same situation as Lukasz. I have multiple workflows which use "From All Status" transitions. So in order to clear Resolution when an issue is moved out of the Done status, for example, I have to add a post function to every transition (except one), across all workflows. I can use automation to edit the Resolution, but not to clear it. It seems like a very unfortunate design decision by Atlassian to disallow this. Incidently, we use the JSU Automation Suite plugin to enable clearing the Resolution in a transition post-function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is really frustrating. In the old UI, I can see and change resolution status, but I can't clear it. In the new UI, I can see the resolution value, but not change it or clear. So when the resolution value is incorrectly set (because a story that was marked done was re-opened), the incorrect value just sits there taunting me. This is a very common occurrence and it's absurd that a value can be changed by automation but not manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jordan DugganCouldn't you just put the resolution field on the edit screen? I mean I wouldn't, but the suggesting of clearing the resolution on transition doesn't seem like a solution for you guys...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I understand it, the Resolution field doesn't work like that. It can only be set during a transition. But that gives me an idea.
On second thought, never mind. My idea was to create a transition to clear the Resolution, and then trigger then transition from the automation. It honestly sounds like more trouble than its worth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.