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.
I am setting up Issue Checklist Pro with my projects and while setting up the checklists I also want to automatically check if attachments have been saved in an issue when transitioning from one status to another?
I want the transition to fail if attachments are not present in the ticket and the user to get a message so that they attach files.
If that is possible I would also then like to check the filenames - I am expecting files to be attached that follow a certain naming convention so want to be able to search for certain text within the file name. I am thing some sort of look up table might work for this.
I just dont know where to start.
Had tried validation on the workflow but that did not work.
Not sure if there is a way using automation.
Bear in mind I am not a software developer...
Thanks
Suzanne
Hi @Suzanne Cranfield , thanks for your question.
You should be able to use a validator to prevent the transition if there is no attachment.
The validator I would use is this one -
It doesn't explicitly say you are checking for attachments but you will note in the field attachment is available in the options -
Here, you can also specify a message for when someone tries to execute this transition without an attachment.
You could also create a specific screen for this transition so that you generate a pop-up which shows more clearly what you need to do in order to complete the transition, but this solution should also work as you anyway get the feedback that the attachment is missing.
For the screen solution, you can just create a screen with the fields on it you want people to fill in before allowing them to do the transition and then here, click on Edit
and choose the screen you just made -
When I go back to the issue and try the transition, and then in the screen, I don't attach something, you can see it is more clear what I need to do to pass this -
Anyway, I hope this helps you. If you have any follow up questions, please write here and either I or someone else will try to assist.
Cheers
Hi Valerie,
I had actually already tried the set ups that you suggested here.
They work to an extent...
If there are no attachments in the issue then the validation works.
If however, if there is an attachment already added prior to the transition then it fails.
It asks me to attach something and then I cannot go further.
Technically the validation should see that an attachment exists so it should not ask me to add anything.
Any ideas?
Thanks
Suzanne
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.