The attachment field system is a requirement in Jira Service Project.
However, there is an issue with certain transitions in the workflow where a screen appears containing required fields. The status should not change until the customer fills out these required fields.
Currently, the system only works for all required field but doesn’t work with the (Attachment system field) How can this problem be resolved?
Knowing that I have tried many solutions, like:
Permission for current assignee in the attachment section
Validator
Fields Required (JSU)
Required fields:Attachment
Condition
def customFieldManager = CoomponentAccessor.getCustomFieldManager()
def issue = issue
def customField = customFieldManager.getCustomFieldObjectByName("Attachment")
def customFieldValue = issue.getCustomFieldValue(customField)
if(customFieldValue) {
return true
} else {
return false
}
Nothing works.
Hi Rudina,
If you want the user to be able to move to that status without filling in those fields, then you need to remove the Field Required validator in the workflow for the transition going to that status.
So edit the workflow.
Click on the transition to that status.
Then click on Validators in the popup to the right.
Remove any Field Required validators for those fields.
Dear John Funk,
Thank you for your kind support!
I would like to request that the Assignee fill in the three fields that I have included in the Validators. However, I have encountered a problem where two of the fields have become required, but the Attachment field has not.
Although there is a required sign (*) present, it does not seem to be functioning properly. This means that the Assignee is able to change the status without uploading anything, unlike the other two fields which are working correctly.
Best regards,
Rudina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share a screenshot of your validators? Did you use the built-in Field Required validator? Or did you use from a plug-in?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the my Validators:
The Description and Do we send email? fields functioned correctly, but there was an issue with the Attachment filed.
Upon closer examination, I observed that while the Description and Attachment fields are both system-generated, the Description field is correctly labeled as such, whereas the Attachment field is not.
Here's an images to illustrate my point:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again @Rudina Aldubayan
Looks like you are using the Jira Datacenter\Server as the Field Required Validator from JSU is supported by Atlassian in the Cloud. Please confirm!
Since you are using our JSU app (Appfire), we have created a support ticket in our support portal to troubleshoot this case: SUPPORT-168570
We’d like you to sign up for the portal and let us know your username so that we can mark your ID as the reporter so you can access the ticket.
Please find the below link to sign up on the portal here
Thanks
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dears @John Funk , @Reshma Begum {Appfire} ,
I am pleased to inform you that I have found a solution to my issue.
After some research, I discovered the JSU Validator, which is specifically designed for Jira cloud. I have successfully utilized the Field Required Validator and its functions.
Thank you for your helpful feedbacks,
Rudina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that's what I mean,
the status can change even if the assignee does not attach anything
but he can not change the status if he don't fill the Description and Do we send email? fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rudina Aldubayan ,
As @John Funk suggested, you need to remove any Field Required validators for those fields on the transition. It looks like you have the Fields Required validator from JSU for the Attachment field. Please remove the validator and verify!
Hope this helps!
Thanks
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Reshma Begum {Appfire} ,
Thank you for your kind support. I truly appreciate it!
In regards to @John Funk , I have replied to him and would appreciate it if you could take a look at my response.
Best regards,
Rudina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.