Forums

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

How to require certain fields based on a JQL condition

Suzanne Seaton
Contributor
December 28, 2017

My requirement is this: Need to require 3 fields to be populated for major incidents. Major incidents are determined by the following JQL:

project = ITIM AND priority in ("0 - (P1) Emergency", "1 - (P2) Critical") OR "P2 Alert" = Yes

"P2 Alert" is a custom field.

So when users resolve the major incident, we want to make sure that three fields are filled out: Start Time, End Time, and Root Cause Owner which are also 3 custom fields.

We do have Adaptavist ScriptRunner for JIRA installed. Thanks in advance.

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
David Niro
Atlassian Partner
September 13, 2022

Hello @jcnta ,

David from ALM Works here.  

At the moment, field history cannot be access via a Structure formula on Cloud.  We do have a task related to it in our backlog and I have added your vote.

I will follow up here when there is some news to share.

Best,
David

jcnta
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!
September 13, 2022

Thanks David! Excited to see future updates on this :)

0 votes
Stepan Kholodov _Tempo_
Community Champion
September 23, 2024

Hello @jcnta 

I just wanted to let you know that now the Formula column has access to Issue History, and it should be possible to check when the Due date field was updated in each issue. You can find out more about the functionality in our documentation.

I hope this helps. If you need assistance with the Formula, please reach out to us directly at our support portal.

Best regards,
Stepan
Tempo (the Structure app vendor)

TAGS
AUG Leaders

Atlassian Community Events