Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The condition is not an empty field.

Ivan Andrieiev
Contributor
January 12, 2023


It is necessary to create fatigue in which, if the resolution is "Done", then some fields must not be empty.

2 answers

2 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
January 12, 2023

@Ivan Andrieiev ,

I do not understand. Can you restate?

Maybe you are trying to require certain fields to noy be empty when transitioning to Done? if so, and you are using CMP project, then edit the workflow and add Conditions or Validators to the transition to Done depending on your requirements.

Jack Brickey
Community Champion
January 12, 2023

When is Resolution set? OOTB, if the Resolution is set during the transition to done then you will not be able to check the status in a workflow Validator. One OOTB option (hack) would be to use automation that would transition the issue back to an in progress status if the fields are empty and Resolution = Done. The automation could add a comment instructing the assignee to fill in the fields.

0 votes
Answer accepted
Ste Wright
Community Champion
January 12, 2023

Hi @Ivan Andrieiev 

Not sure what you're asking here - can you clarify? Are you potentially looking for help with Workflow functions?

Perhaps what you're looking for is:

  • If the Issue is transitioned to Status "Done", Resolution "Done"
  • Then certain fields must not be empty

Is this correct? If yes, are there any other resolutions apart from "Done", or is it the only one?

Ste

Ivan Andrieiev
Contributor
January 12, 2023

@Jack Brickey  @Ste Wright  Hi

1. I want that, with empty fields, the task cannot be changed to "Closed" status.
2. But the condition is that, if the resolution is "Done", if the resolution is "Will not be implemented", then the task can be closed even with empty fields.

Ste Wright
Community Champion
January 12, 2023

Hi @Ivan Andrieiev 

Are the Resolutions set manually during the transition?

If yes, this could be quite difficult using Conditions and/or Validators - because the Resolution isn't set until after the transition has happened.

One option is to use Automation to reverse the transition depending on those parameters - so the logic might be...

  • Trigger: Issue Transitioned - To Status = Closed
  • Condition: Resolution = Done
  • Condition: Fields are not all populated
  • Action: Return the Issue to the previous Status
  • Action: Comment / Email the initiator of the transition, letting them know to fill in the fields before closing the Issue

^ If this sounds of interest, and you'd like more specific instructions on how to set this up - just let us know so we can assist further :)

Ste

Ivan Andrieiev
Contributor
January 12, 2023

@Ste Wright  there is a screen to select a resolution on the transition to closing the task, so your scheme may be even more suitable, thanks for now. I will try this way, after I will write or will accepted this question.

Like Ste Wright likes this
Ste Wright
Community Champion
January 12, 2023

Hi @Ivan Andrieiev 

Yes - so a Condition/Validator wouldn't work based on a Resolution, because it is set after the transition, not before/during it.

Let us know how you get on with the Automation Rule!

Ste

Ivan Andrieiev
Contributor
January 12, 2023
@Ste Wright  I created a the Automation Rule. Bu it didn't back issue in other status. I suppose I did some wrong. 
 
Text mistake:
 
Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status):
TS-84 (Closed - 6)
Снимок экрана 2023-01-12 в 17.06.30.png
Ste Wright
Community Champion
January 12, 2023

Hi @Ivan Andrieiev 

Simple question first - on your Workflow, can you transition from "Closed" back to "In Progress" normally?

Ste

Ivan Andrieiev
Contributor
January 12, 2023

yes you are right, it is really very simple question, thanks. 

Like Ste Wright likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events