How can I force a user to fill out a custom field after a state transition?

Steve Hooczko May 8, 2024

I'm assuming that this would need to be done within Automation.

 

4 answers

1 vote
Matt Parks
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.
May 8, 2024

Are you talking about making a field required in order to execute the transition or to make a field required once an issue is in a particular status?

In either case, I don't think that Automation is going to assist, since an Automation rule makes a thing happen, but can't enforce behavior before it happens.

For that, you'd likely need a third party plugin like Scriptrunner, JMWE, or JSU to conditionally make a field required.

1 vote
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2024

@Steve Hooczko

 

You cannot force them to fill out a value after a transition, but you could use add a screen to the transition and then use a validator to require a field on that screen to be populated.

 

Are you familiar with transition screens and how they work?

 

Thanks,

Kian

Steve Hooczko May 8, 2024

which validator do i use? The only one I see in the "Add Validator to Transition" list that may apply is Previous State Validator. 

 

Steve Hooczko May 8, 2024

I tried that validator and no screen appeared to update the field.

Steve Hooczko May 8, 2024

Do I need to setup a screen "scheme" for this screen, as well?

Steve Hooczko May 8, 2024

I followed the instruction links in your reply to get to where I am, but there seems to be a step missing. And yes, I did publish the draft.

Steve Hooczko May 8, 2024

Can you show me an example of the screen pop up when it does work?

 

Steve Hooczko May 8, 2024

I had the field on the default story screen already before I tried to add this transition screen. Could that be stopping the screen from appearing?

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2024

Hi @Steve Hooczko

 

You don't need a "screen scheme". You need to just create a basic screen.

So the process would be as follows:

  1. Create a new screen where you will add the fields you want your users to fill out during the transition.
  2. Add those fields to the screen.
  3. Navigate to your workflow and find the transition you want to require them to fill information out during.
  4. Add the screen to the transition.
  5. Add a validator to the transition to require the fields you want populated.
  6. Publish the workflow
Like Floating electron likes this
0 votes
Vicente Domínguez _Decadis AG_
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.
May 9, 2024

Hello @Steve Hooczko,

I am part of the Decadis team and this should also be possible with the Fields required or changed validator from our app JWT for Jira Cloud.

Best regards,

Vicente

0 votes
Suprija Sirikonda _Appfire_
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.
May 8, 2024

Hi @Steve Hooczko,

Your requirement can be achieved using "Field Required Validator" provided by "Jira Misc Workflow Extensions (JMWE)" app.

See the documentation of this validator here and give it a try.

BTW, I'm from Appfire, the vendor of JMWE app.

Regards,

Suprija | Appfire

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events