Forums

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

Can I require a custom field for a specific issue type, AND transition to a specific status?

Philip Culver
Contributor
March 20, 2019

I want to require a custom field be filled out - but only on Epics, AND only when the epic transitions to a specific status (from any status). 

I scanned quickly, and found this post, but it doesn't mention the transition piece, which is key for what I'm looking to do.

So for clarity, I'm looking for the following:


1) Epic issue is created (custom field is NOT required).
2) Epic issue goes from Open to In Progress status (custom field is NOT required)
3) Epic goes from In Progress to Testing status - custom field IS required.
4) Epic issue goes from Testing to Complete (custom field is NOT required, but it had already been filled out).

Thanks in advance!

1 answer

1 accepted

1 vote
Answer accepted
laralg
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.
March 20, 2019

Hello @Philip Culver are you a server or a cloud user?

If you are a cloud user, there is a validator in the workflow that allows you to do that, it is called Field required validator. 

Go to your workflow, the transition you want to put this and add the validator. I recomend you have a screen in that transition where you put the field so people can put it in when they change status.

If you are using Jira server, this functionality is not built in. You will need to use a third party add-on or write one yourself.
There are a lot of apps that do this, so check other functionalities for buying it, without any preference Jira Suite Utilites, Workflow tool box, Scriptrunner...

https://marketplace.atlassian.com/search?query=field%20validator

You can check them out there.

Philip Culver
Contributor
March 20, 2019

Thanks for the response! We're using JIRA server. So I'll check out some of the options you mentioned. Thanks again!

Suggest an answer

Log in or Sign up to answer