Forums

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

How to change task status from Blocked to To do, when all blocking tasks are done or closed

Елена Елена
Contributor
February 19, 2023

Hello there,

I am a newbie in Jira, and have a question about automation

How to change task status from Blocked to To do, when all blocking tasks are done or closed?

 

when I put this query

issue in linkedIssues('\u007b'{issue.key}, 'is blocked by') and status not in (done, closed)

I got an error when I want to validate it

 

Invalid JQL

 

Error in the JQL Query: The character '{' is a reserved JQL character. You must enclose it in a string or use the escape '\u007b' instead. (line 1, character 57)

 

when I put "$" - Error in the JQL Query: The character '$' is a reserved JQL character. You must enclose it in a string or use the escape '\u0024' instead. (line 1, character 57)

2 answers

0 votes
Елена Елена
Contributor
February 23, 2023
  1. Navigate to the Automation section in Jira and create a new rule.
  2. Choose "Trigger" and select the option for "When issue updated."
  3. Use that JQL query
  4. In the "Actions" section, add a "Transition issue" action to transition the current task from the "Blocked" status to the "To Do" status.
0 votes
Trudy Claspill
Community Champion
February 20, 2023

Hello @Елена Елена 

Welcome to the Atlassian community!

Please show us the details of the Automation rule step where you are trying to use that JQL statement.

Елена Елена
Contributor
February 23, 2023
  1. Navigate to the Automation section in Jira and create a new rule.
  2. Choose "Trigger" and select the option for "When issue updated."
  3. Use that JQL query
  4. In the "Actions" section, add a "Transition issue" action to transition the current task from the "Blocked" status to the "To Do" status.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events