Forums

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

Set reporter field based on customfield

Davor Fisher
Contributor
March 29, 2023

Hello


We have a use case where we are migrating to JIRA Cloud and we use ServiceRocket SF and JIRA connector and issues created and pushed from salesforce all have reporter as the Salesforce and JIRA connector user. In our on-prem version of JIRA those are set as the person that is assigned the case in Salesforce. This is unfortunately not an option on cloud version of the app.

What I am trying to do is create a text field in JIRA that will be pushed from Salesforce to JIRA and it will map the values of User with Firstname Lastname.


I am hoping to then somehow figure out a way to update the reporter field and set it based on the custom field value of firstname lastname

 

JIRA field:

Salesforce Report: single line text field that would be ex. Davor Fisher

Reporter field: Set based on the above mapping.

1 answer

0 votes
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 29, 2023

I could be wrong, but with an automation, you should be able to read that field and set the reporter accordingly.  Note, you're probably going to end up with a really long if/else statement.  I could be wrong, but you will have to write a condition for every person you need to set.  So when the Issue is created, look at that field, and if it's "J Doe" set Reporter to "John Doe", else if field is "S Smith" set Reporter to "Sue Smith" etc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events