Forums

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

Block Issue Creation if Condition Met

Cyan Lee January 28, 2023 edited

I am using Jira Software.

 

I want to prevent an issue transiting from 'create' to 'to do' if the following condition is met (in JQL). Can I achieve this without any marketplace plugins? If so, how please?

 

project = BPO

AND

created >= 2022-11-02

AND (

"Select one ticket type[Select List (cascading)]" in cascadeOption(10522, none) OR

"Select one ticket type[Select List (cascading)]" in cascadeOption(10532, none)

OR

"Select one ticket type[Select List (cascading)]" in cascadeOption(10623, none)

OR

"Select one ticket type[Select List (cascading)]" in cascadeOption(10325, none)

OR

"Select one ticket type[Select List (cascading)]" in cascadeOption(10176, none)

)

2 answers

1 accepted

3 votes
Answer accepted
Ravi Sagar _Sparxsys_
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 Leaders.
January 28, 2023

Hi @Cyan Lee 

Out of the box following conditions are available.

condition.png

Looking at your question I don't think you can achieve that without an app. You can use "User is in a Custom Field" and "Value Field" conditions to achieve some of your logic if not all.

Ravi

Cyan Lee January 28, 2023

Thanks Ravi for your kind advice.

0 votes
Kelly Arrey
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 Leaders.
January 30, 2023

Another approach might be to use Jira Automation to set a flag in the labels field, and then check that flag in the workflow transition.

Suggest an answer

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

Atlassian Community Events