You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Atlassian community
I'm having an issue with the field Request Type.
In our Jira Service Management we use several workflow, issue type and request type.
Sometimes, customers don't use the right request type so we (agent) have to move the ticket to another issue type. This operation can erase the request type because we are using a different issue type . So we have to manually affect a new request type. That's okay but sometimes we forget to reaffect the request type and that's a problem for the reporting at the end.
So, i tried to add a validator to my workflow to make Request Type required to sold the isssue.
Test 1 : From Jira (not from customer portal) i create an issue with no request type, the validator is blocking the transition--> Fine.
Test 2 : create an issue from the customer portal -> a request type is affected. Then i move the issue to another issue type -> the request type is now blank. I do the transition : the validator didn't stop me.
I think in back office the request type field has a value (the one from the creation) so the validor doesn't stop the transition. But in front office Jira doesn't show me the value because it's not a value affected to the current issue type. I wish that validator stop the transition and the agent apply a correct value to the request type field.
Someone have a tips for me ? :)
Kind Regards
Ianis
Hello everyone! I have a workaround that's working! It's an automation that simply sets the "Customer Request Type" to "Null" when the issue type changes.
Work around:
Create a new automation:
{ "fields": { "Request Type": null } }
And wala! 🎉 My validator is now working, thus blocking my team from closing an issue when it's been moved, and the customer request type has not been re-populated. Hope this helps!
Hi @Jeret Shuck,
Thank you for sharing!
I was about to post it here too. I talked to Yuri and he mentioned that found this workaround where the automation will clear the request type field. With this, the validator will work, because the field will be really empty.
I’m glad that we could help!
Kind regards,
Angélica
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.
This does not seem to work anymore. An Edit Request Type action has been added, which does not allow for the JSON data to get added to trigger the workaround for the validator.
I am essentially trying to solve a similar issue. Whenever the request type is empty, the issue should not be allowed to transition until it has been set to a valid value.
Similar to the original case, when we change the issue type of a request, the request type value gets emptied, and I have not been able to find a way to either prevent this from happening or force a value to be set in any way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Michael Nassette I hope you are ok, the method is still working, in this new Edit Request Type action you can click on More Options and paste the JSON and voila!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ianis and @Jeret Shuck,
Thank you all for reaching out to Community!
When changing the issue type of a Service Management ticket, as you know, the request type will be empty, since it’s not possible to edit this field while moving the ticket.
There is a feature suggesting this improvement:
Now, with this said, the issue that you are facing where the workflow validator is not working properly is due to a bug.
So, the ticket is moved to another issue type, the request type shows “None”, but if you go to the issue navigator, the request type is still visible, so in the backend, the value is still there and the validator doesn’t recognize the field as empty, that’s why it won’t work:
I recorded a video for you to better understand what happens:
Please, click on “This affects my team” and also watch the bug to receive updates from our developer team.
Kind regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angélica,
Thank you for your answer. As you said, I upvote and put me on watcher on the bug.
Kind regards
Ianis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did the same. Thanks for the comment here Angelica. Looks like this bug is from 2018. a three-year-old bug is pretty concerning. Looks like Atlassian may never fix this issue.
Furthermore, we can't use "automation" to clear the field or update it in any way. I was hoping I could create automation to trigger when the Issue type changes, but looks like that's not an option either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the exact same use case. Here's my validator:
On my test ticket, you can see here the request type is blank (after switching the issue type):
And yet, I still have the ability to execute the transition:
If anyone out there has a solution or work around let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, This is still working as with the first suggestion - "Edit Issue" and not "Edit Request type" - the automation changing the RT field to be empty and than the validation works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A couple of questions for you:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack, thank you for your answer.
You advice me to use the validator "Field has been modified Validator" ? I'll test it
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.