The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting Status Change unless attachment is attached

Haig Aboyan
Contributor
April 21, 2023

I am working on a workflow and I need to restrict the user from being able to transition the issue to the next status unless they have properly attached the required attachment. The transition needs to be manual and cant be part of the automation. Is there a way to do this using workflow properties?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Kris Dewachter
Community Champion
April 21, 2023

Hi @Haig Aboyan ,

I believe you can achieve this by setting a "Value Field" condition on the transition in your workflow.

Snip20230421_50.png

Like this, you can only perform the transition when the ticket has minimum 1 attachment.

You can not specify the type of attachment though.

Best regards,

Kris

Haig Aboyan
Contributor
April 21, 2023

Hi Kris, thanks for this. This is exactly what i need! How do I get to this page? I am an admin so I have access to this, i just don't know how to navigate here.

Kris Dewachter
Community Champion
April 21, 2023

Hi @Haig Aboyan ,

Have a look at this short YouTube video 

Jira Workflow Tutorial - How to use Conditions in Jira

It explains in detail what you need to do. But you need to use the "attachment" field like displayed in the screenshot i attached earlier.

Hope this helps.

Best regards,

Kris

0 votes
Trudy P Claspill
Community Champion
April 21, 2023

Hello @Haig Aboyan 

Would the attachment normally be attached separately, or do you want to require an attachment be added during the transition?

If there is any attachment at all, can the transition proceed? You said "properly attached the required document". How do you determine the attachment is "the required document"?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events