Hello there,
I am seeking a script for the following scenarios:
Custom Fields:
Sub Status (Single Select)
Sub Status values:
Scenario:
Workflow transition (Assigned --> In Progress) & Status "IN PROGRESS"
During this transition, sub status should display only the values "SS1" & SS2", after the successful transition, status of the issue changes to "IN PROGRESS"
During the "IN Progress" status, whenever I click "Sub Status" drop down on view issue screen, I should see only "SS1 & SS2", even on the EDIT Screen as well.
Workflow transition (In Progress --> In Development) & Status is "Under Development"
During this transition, sub status should display only the values "SS3" & SS4", after the successful transition, status of the issue changes to "UNDER DEVELOPMENT"
During the "UNDER DEVELOPMENT" status, whenever I click "Sub Status" drop down on view issue screen, I should see only "SS1 & SS2", even on the EDIT Screen as well.
Please help me to achieve this scenario using SCRIPTRUNNER.
Regards,
Sami Ahmed Shaik.
Found the answer using getAction().
it is possible to achieve that scenario with :
- 2 RestEnd point to feed your list with the values accordingly
- Behavior to display the value based on you desired transition
here is an example
I hope this might help
Thanks
Mohamed Adel
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.