Forums

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

Dont allow user to attach files after closing the issue in JIRA

Dhivya Jayamani May 8, 2018

Hi ,

I have granted permission in the Permission scheme for the Reporter to attach files.

However I would like to restrict the reporter in attaching the files when the Issue is closed.

Which means he should not able to attach the files when the issue is in the CLOSED status.

Could pls provide valuable suggestions for this ?

 

2 answers

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2018

You should use the jira.permission.attach property. You can find more info here: 

https://community.atlassian.com/t5/Jira-questions/jira-permission-attach-property/qaq-p/646695

Dhivya Jayamani May 10, 2018

Thanks a lot .It worked 

Dhivya Jayamani May 11, 2018

when the issue is closed we have a Close screen which allows the user to upload some files.

I have used jira.permission.attach.group=admin in the step property of the Closed Status.

By using the above property ,I am unable to upload the file in the close screen transition itself.Not throeing any error but simply not able to view.

 

Any ideas would be greatful

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2018

If you forbid to attach files then you forbid it for the whole status. When you make a transition out of the status, the issue is still in this status. 

Dhivya Jayamani May 16, 2018

ok.So I have a transition screen with attachment field.And I have set the  jira.permission.attach.group=admin in the property of the closed status.

Is there anyway that I can upload the files in the transition screen?

As this property simply works fine ...after the issue is in closed status. But we need to attach files also in the transition screen leading to close status?

Our requirement is to prevent the users in uploading files only after CLOSED Status.But what if we have a transition screen having attachment field which leads to the Closed status?

Any workaround will be helpful.

Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 16, 2018

The workflow property is placed on the status properties, not the transition properties.  Which means as long as the issue is not in that closed status before the transition is executed, I believe you should still be able to attach files to the issue on that transition screen, even if you are not in the admin group.

0 votes
Dhivya Jayamani May 11, 2018

The Property works after the closed status which is good but why that is restricting the transition screen associated to that status not to upload the files?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events