The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Block Issue Creation if Condition Met

Cyan Lee
January 28, 2023

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events