Forums

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

Project Automation is not working but shows success

Marc Isikoff
Contributor
August 10, 2023

I have an automation (sorry, cannot paste image) which takes in a text field as a user ID (which lets call cf[nnnnn]) and then tries to match it so a drop down field of users cf[mmmmm] is populated. So this is like a 1:1 match of maybe 40 possible users.

There are 3 groups of users (departments) so the essential project automation is for 3 branches (for current issue):

 

Branch - for current issue

       Issue check JQL ~ if cf[nnnnn] ~"12345" or cf[nnnnn] ~"23456" etc.

       If cf[nnnnn] = "12345" then cf[mmmm] = "John Doe"

repeated for each user id for that department as some departments have 10, some have 20, etc.

 

Next branch for current issue for next department has similar, and finally last of the 3 branches for the 3rd department.

All 3 branches are similar in that JQL qualifies the userIDs that would be part of that, and just does if thens for each to populate the drop down value.

The JQLs validate and gives the number of issues for each so I know the JQL works.

But in tracing the history, I get success but the drop down value is blank on those issues so something is not working to populate the name in the drop down.

Also, if there's a better way to do this I would be open to that but essentially it's taking a userID and trying to set a name in a drop down so likely there is no other way without another system involved to translate userID to name.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events