I have 2 issuetype, Story and bugs
I used field IT Problem Manager (user picker (multiple users)) in story,
than I linked Story to Bugs.
What I want, issue bugs can move status by users in field IT Problem Manager
I make script in JMWE in workflow Bugs
user.displayName == linkedIssue.customfield_12441.displayName
test results :
- Scenario 1 :
if I input user A in field IT Problem Manager in story
user A can move status in issue bugs, and user B can't move status
- Scenario 2 :
if I input user A an user B in field IT Problem Manager in story
user A or user B can't move status in issue bugs
what I want make script to make Scenario 2 work used (user picker (multiple users)) from linked issue
what should I do?
Tyas - CIT
Hi @Tyas Iglecias ,
I think the problem is that you are checking for equaltiy, so the username must match the content of the field.
Assuming that linkedIssue.customfield_12441.displayName returns a String containing both user Names, you can try something like this (I couldn't test it currently)
This checks, if the String returned from the field contains the Display Name.
Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events