How to notify user in JIRA Cloud project at a certain transition if a required field is missing
Welcome to the community.
As @Mikael Sandberg mentioned we need more information to help you out.
But if you set a field required on a transition and it's not provided the transition will be blocked, use screens on transition and a field condition, to make this mandatory during the transition
Hi @Tapio Lakkinen,
Welcome to Atlassian Community!
A bit more information would be needed in order to answer your question, but based on the current one, automations are running after you do something to a work item, so notifying that at missing required field is not possible unless you "hard code" the field in the automation. Automations do not know if a field is required or not, that is set as a validation in the workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tapio Lakkinen ,
Good day! Welcome to Atlassian Community :)
In Jira Cloud, you can use workflow validators to notify and restrict the transition
Steps:
Navigate to space settings -> Workflows
Edit the workflow
Click the transition where you want the check
Click Validators
Add: Field required validator
Select the required field (e.g., Fix Version, assignee etc)
Publish the workflow
So now, when the user transitions:
If the field is empty , Jira will show an error message
User must fill it and then retry the transition.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If in project transition a field has specific value that requires a value also in second field, the user need to be notified to fill in the value for second field. That was done in JIRA Datacenter with Groovy script, but in JIRA Cloud there is no way to inform user these kind of scenarios. Maybe {{initiator}} smart value might be used but that is also only by comment or email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it seems in the DC you used, you had Scriptrunner, other scripting or workflow extension app, do you have such an app in your Cloud instance as well?
This as ootb your requirment can't be fulfilled
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately no, so this means we need to make adjustments in the workflow for the migration of the DC project to Cloud. Thanks!
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.