Forums

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

Automation - flagging issues with missing data

Fabre Lambeau April 22, 2022

I'm trying to add automation in my team's project (company-managed project) to flag issues when they are edited (in particular when they are added to a particular set of sprints) to flag them if there is data missing in them.

So my workflow is essentially:

- IF the issue is added to sprint X
  - IF it's missing a label Y, flag it
  - ELSE if it's missing a custom field Z, flag it
  - ELSE unset the flag  

The idea being that the issue will show clearly in the board as being incomplete.

I tried a manual rule as a starting point:

Screenshot 2022-04-22 at 16.53.30.png

 

but I keep getting the following error when I run it:

```

No fields or field values to edit for issues (could be due to some field values not existing in a given project):
   EN-11149
Found multiple fields with the same name and type: .
   Flagged (com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes)
```
I've checked our fields however, and there is only one `Flagged` field (which is locked)
And yet, if I manually flag the issue in the edit view, it does work. So the field exist and is usable...

1 answer

0 votes
Dave Mathijs
Community Champion
April 22, 2022

Hi @Fabre Lambeau welcome to the Atlassian Community!

I just created an automation rule on my own site and it works.

  • When: Manually triggered
  • Status equals To Do
  • Then: Edit Issue fields Flagged (value Impediment)

Can you (or a Jira admin) check if you have a custom field with the same name 'Flagged' (type Checkboxes)?

Fabre Lambeau April 25, 2022

Turns out there were 3. I have no idea why...

Suggest an answer

Log in or Sign up to answer