Forums

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

Automation - Problem setting DueDate?

Stuart Fitzgerald
June 17, 2021

I've made an automation that when a certain task moves from "In Progress" to "Done", it Transitions the Status to "To Do" and sets the due date to 10 working days in advance of today.

The status change works as expected, but the automation errors on the due date change saying: 

Transition issue

Unknown fields set during transition. Field may not be on transition screen. Fields ignored -Due date (duedate)

 

Any help glady received!
Thanks

1 answer

1 accepted

5 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 27, 2013

This is pretty similar to this question, but simpler.

To find Bugs without subtasks:

issueFunction not in hasSubtasks() and issuetype = Bug

To find subtasks of Bugs:

issueFunction in subtasksOf("issuetype = Bug")

You can combine these to create:

(issueFunction not in hasSubtasks() and issuetype = Bug) OR issueFunction in subtasksOf("issuetype = Bug")

mrdao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2013

Thanks for that. Any ideas on how to do it witout the extra plugin? Was trying to avoid using those since I don't have access to install.

Nicolas Casel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 13, 2018

Thanks Jamie.

Actually the query you wrote:

issueFunction not in hasSubtasks() and issuetype = Bug

helps me getting all subtasks except the ones related to a Bug. I get it like this:

project = EXCTDWHI AND issuetype in (Epic, Spike, Story, Sub-task, Task) AND NOT issueFunction in subtasksOf("issuetype = Bug")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events