Forums

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

the status can not be changed until a field is changed or not empty?

فادي
Contributor
August 1, 2019

for example :

issue: Follow up a customer to pay.

when the issue contains (pay) then don't give permission to change the status until the field (payment) is changed?

how can i do that?

 

anther example:

issue: Pictures for the project.

Cant change the status until an attachment is attached?

 

i need status permission related with conditions ... in workflow and JQL

1 answer

0 votes
David Fischer
Community Champion
August 1, 2019

Hi,

You could achieve this with a workflow condition from a number of third party apps. Are you on Jira Server or Cloud?

فادي
Contributor
August 3, 2019

Jira-Cloud

can u explain more please, how can i do it?

David Fischer
Community Champion
August 3, 2019

On Jira Cloud, your options are very limited.

I assume your transition has a transition screen where you input the value of the payment field, right? And you want to prevent the transition from being submitted unless a value is provided for the payment field. If that's the case, you just need a Field Required Validator (or a Field has been modified Validator). That applies as well to the Attachments field I believe.

Like فادي likes this
فادي
Contributor
August 3, 2019

thank you for answering...the validator is for all issues that are created but i want this validator for only the issues that contains the word (payment)

David Fischer
Community Champion
August 4, 2019

Then you can use JMWE's "Build-your-own" Validator with a simple expression like:

!issue.summary.includes("payment") || !!issue.customfield_11955

where customfield_11955 needs to be replaced with the ID of your "Payment" custom field (which you do by using the "Issue Fields" help tab of the expression editor)

فادي
Contributor
August 5, 2019

i dont have  JMWE's, i have automation can i use it ??? JQL?

David Fischer
Community Champion
August 5, 2019

As far as I know, Automation for Jira doesn't provide workflow conditions and validators.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events