Creator should not be able to open the issue he created.

Dear Atlassian community,

 

this is my first question here, please be nice smile.

 

I have created a new purchase order project where the creator of the issue shall not be able to open it, I have already looked at all possibilities in the workflow diagram but I did not find anything usefull...the create transition only allows validators and post functions. I have used the "seperate Duties" condition for other transitions but it is not able to apply here.

 

Please help.

 

Thanks,

Niklas

workflow 3.0.PNG

1 answer

1 accepted

1 vote
Accepted answer

The visibility of an issue is not a function of the workflow.  

A user can see an issue if they match the permission scheme - specifically look at the "browse" permission.   It is possible to give a user "create" without giving them "browse", which allows them to create issues that they then can't actually see.  (Unless I have misunderstood your question, that is what you are describing here?  If I am wrong, please tell me, I often misread and don't get offended by corrections)

There is also a way to do it with "issue security", but that's quite complex - start by checking if the project has an "issue security scheme" set - if it doesn't, then this is not the problem.

Hi Nic, first of all thank you for your answer! This project is actully a test project for me, the apprentice, where I should train my skills in JIRA. So this is the part of the task where I am stuck: "a) Initial status is "Recorded" b) Then we want to have "Open" ->i) As expenses need to be reduced we want to make sure that the reporter cannot do so ("open the issue")" I hope this makes clear what I want to do(?). I would guess my instructor wants me to do it by the hard "issue security" way... Thanks in advance!

PS: The "Issue security is currently not enabled for this project."

Ok, there's two things here and I think it's worth separating them out for clarity. First, there is the *visibility* of the issue. Can a user *see* the issue at all? This is controlled by the permission scheme I mentioned above (and security scheme if you used it). Second, there is the workflow. This is the *process* an issue goes through. You want a process that begins with Recorded, then flows to Open, then, presumably continues forward. Open up the workflow you have for this and edit it. I assume you already have the status of Recorded and Open in it (if not, then add them). Go find the transition that is labelled with "Create" and edit that. You should find you can change the "target" from "open" to "recorded". Make sure you have a transition that goes from Recorded to Open. Save the workflow. Now, when your user creates an issue, it will land in Recorded. However, they will be able to see that they can move it to "open" too. Go back to the workflow and edit it again. Look at the Recorded -> Open workflow, and look for the "conditions". Add one to the transition, you want to make it do something like "user must be in group 'authorisors'" or something.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,723 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you