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

Required field when resolving, not when creating issue

Fuji June 14, 2024

In our IT support, we want to have a required field to fill out when we are resolving the issue. We have done this now, but it also becomes required when creating the issue (required in request type).

We don't want customer to fill out the required field.

Is this possible?

We are team-managed in Jira.

 

Thanks in advance.


Fuji

2 answers

0 votes
Maciej Dudziak _Forgappify_
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.
June 17, 2024

Hi @Fuji

If I understand correctly, initially you made the field required in the 'Field configuration.' You can't do that because it will cause the field to be required during the creation of the issue, including on the portal.

So in order to make it required during the transition follow the steps:

  1. Edit the workflow that contains the transition.
  2. In diagram mode, select the transition arrow and click Validators in the properties panel. Or in text mode, select the transition's name from the Transitions (id) column.
  3. Select the Validators tab and click on Add validator button
  4. Choose from the available validators and set any necessary parameters for the validator.
  5. Remember to Publish Draft

I hope it will help.

Cheers

 

 

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 14, 2024

Hello @Fuji 

If you want a field to be required only when transitioning an issue to a specific status (i.e. Resolved) then in a Team Managed project your would need to add a Rule to that transition to make the field required.

However, in Team Managed projects it is not possible to show a pop-up during the transition to let the user fill in that field as part of the transition process. That functionality is available only in Company Managed projects.

So, you could block the transition to Resolved if the field is empty, but you will have train your users to fill the field in before attempting the transition.

If you set the field to Required in the Issue Layout screen then it will be required at all points during the issue's lifecycle.

Fuji June 17, 2024

I wrongly told wrong information. We actually company-managed with our Jira Service Desk - IT support.

Yes, I agree that I can't make the field required, due making it required everywhere.

At the moment our solution is to not put the field in request types - request form tab, but to put it in our request type - issue view tab. (Below the request type tabs shown)

Screenshot 2024-06-17 104709.png


This way, we still cannot make it required, but at least it is not visible when creating issue (for customer), and our support team can still fill it out when resolving an ticket.
I'am still trying to find another additional solution.

I don't know how to block an transition, as you write I can do...

I tried to make an automation as you said, but I got errors on it.
Here is how I made it:
When transitioning from one of the statuses, showed in the first bracket --> and the field (changelog) is empty ---> it should be transitioned back to waiting for support and add a internal comment to inform IT Support that they have to add certain info in field, when resolving issue. 

Audit log:
Screenshot 2024-06-17 110028.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 17, 2024

Hello @Fuji 

To block a transition or require a field during a transition in a Company Managed project the Workflow in that project that applies to the relevant issue types has to be modified. That type of modification can be done only by a Jira Administrator. The reference documentation can be found here:

https://support.atlassian.com/jira-cloud-administration/docs/create-and-manage-issue-workflows-and-issue-workflow-schemes/

Specifically you would need to add a Validator to the transitions to the statuses you use for "resolved".

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Validators

You could also add a screen to the transitions to show that field so that it can be filled in when the issue is transitioned.

https://support.atlassian.com/jira-cloud-administration/docs/work-in-text-mode/#Using-a-screen-with-a-transition

 

Regarding your use of automation, I did not recommend trying to use Automation. I mentioned using a Rule but that was in the context of modifying a Team Managed project workflow. In TM projects the team "Rule" is used instead of "Conditions" or "Validators" for the limitations you can add to a Workflow Transition.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events