Forums

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

Custom workflow question.

Andrew Morin
Contributor
January 26, 2012

Okay...I have created a custom workflow and basically added three custom steps.

1. Pending - need more info on ticket

2. Code Review in Progress

3. Ready to Deploy

In the permission scheme I gave only jira-administrators permission to Resolve issues. The issue I am having is everyone still appears to be able to Resolve issues. I tested with my developer and qa teams and when they put it in Ready to Deploy that should be the end of their workflow but the Resolve Issue button still appears. Am I breaking some JIRA rule by not giving them any other option from Ready to Deploy?

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
January 26, 2012

No rules broken, but yes, you've missed something (which is horribly easy to miss).

Transitions have "conditions" (also, validators and post-functions, but they aren't what you need here). Conditions are a simple yes/no question which determine "can a user do this transtion". When you create new transitions, you create them without any conditions, which leaves them with a rule of "anyone can do this transition"

You need to add "only people who have resolve permission" as a condition to your resolve transitions, then it'll do what you expect. You can be a lot more clever, but start there...

I'd also suggest you check any other new transitions - with no conditions, even people who aren't logged in can use them!

Andrew Morin
Contributor
January 26, 2012

Yikes...thanks for the reminder...its been awhile since I've added one of those. then i was looking at the Ready to Deploy step which didn't give me any options...Then I realized it was the resolved step I needed to add the condition to...Many Thanks !!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events