It seems like I used to know how to do what I am trying to do in an earlier version of JIRA, but I am finding myself lost in 6.1.1. I am trying to create a custom workflow/custom fields to fit a fairly simple scenario: Party A creates an issue, Party B evaluates the issue and estimates time to complete (choosing one of two transitions based on < or > 40 hours time), Party C assigns a numeric priority to the issue and then Party B goes to work on the issue. I have created a custom priority field, added new statuses, made a bunch of screens, created transitions. I am not getting how I can have the priority field be editable only by Party C, but read only for Party B. I also want to check that particular fields are completed prior to allowing transitions. Also, my custom screens are assigned to transitions, but they never show because the transition is instant. How do I make a screen appear as part of the transition and then require a field to be completed as part of the transition?
Thanks for any pointers or suggestions.
Check out the Advanced Worklow Wiki, https://confluence.atlassian.com/display/AOD/Advanced+workflow+configuration. It has conditions, validator and post functions to help with verifying fields have the correct data and so on.
For permissions to view or edit a field check out the Roles section, https://confluence.atlassian.com/display/JIRA/Managing+Project+Roles.
For transistions you need to Edit the Trasition step in the workflow.
Thanks Rahul and Erik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. You want to make priority field editable only by a certain people:
To do this create two project roles role A and role B.
Remove priority from create and edit issue screens
Now add a transition - Update priority on each status leading to the same status i.e. Open ---> Open, In progress-> In progress. Have it for all the statuses in your workflow.
IN these transitions associate a transition screen which has priority field in it.
Add conditions that only membrs of project role B can execute this transition. With this no one else can perform this operation except project role B
This will be the simplest way to achieve what you want.
2. I also want to check that particular fields are completed prior to allowing transitions
Can you not mandatorise those fields? Or if you only want certain fields to be mandatory on certain screens then look for workflow validators. This link below explains how it can be done.
3. custom screens are assigned to transitions, but they never show because the transition is instant.
If you have correctly applied your transition screen to your workflow then they will appear when you transition your issues through the workfflow transition. If they do not show up, then you need to check if the screens have been applied properly.
4. How do I make a screen appear as part of the transition and then require a field to be completed as part of the transition?
See 2 above , you can do it with workflow validators
https://confluence.atlassian.com/display/JIRA/Configuring+Workflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.