Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to set must input some nessarry text info before modify a filed?

Chen Qiu February 25, 2024

I want to require users to fill in some mandatory information when modifying the component field. Can Jira pop up a form for users to fill in the relevant information before successfully modifying component.

 

screenshot-20240226-150112.png

 

 

 

2 answers

2 accepted

0 votes
Answer accepted
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2024

Hey @Chen Qiu and @Bill Sheboy --

Bill is quite right that Automation isn't the right tool here.

But I wanted to point out that Chen' screenshot and description indicates that they want to force a pop-up when somebody tries to edit the Component field while viewing the ticket.

Jira simply doesn't have a mechanism for that out of the box.

For years, the best you could do was:

  • Disable editing of the Component field on the View Screen for this Issue Type/Project.
  • Create a Workflow transition whose only purpose is to allow editing of the Component field
  • Require a comment/other fields in that transition

This is detailed here: How can I control the editing of issue fields via workflow? 

I feel like *maybe* you could hack something together with Behaviours, such that if somebody tries to make a change to Components, it makes other fields be required? But I'm not 100% sure this is possible.

Chen Qiu February 28, 2024

Thanks for your reply. It's very usefull.

Rick Westbrock
Contributor
March 4, 2024

Huh, I thought that Behaviours only worked on issue create and issue edit was not yet supported due to limitations on the APIs but I don't see that listed on the constraints page any longer.

0 votes
Answer accepted
Bill Sheboy
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.
February 26, 2024

Hi @Chen Qiu -- Welcome to the Atlassian Community!

You have posted this question in the automation area, but what you describe is not possible with automation rules.

Rules trigger after some action has occurred, not before or during the action.  A rule could detect the component change and check fields, notifying the user afterwards.

Using workflow validators could do what you ask to prevent setting the field if other fields are not completed.

Kind regards,
Bill

Chen Qiu February 28, 2024

Thanks a lot. I got it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events