Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set custom multiple user field to reporter if empty

Hello! 

I created a Custom Field called "Reviewer" that has a type of User Picker (multiple users). If this field is null when an issue is created, I'd like the value to be set to the Reporter for the issue. 

I'm using JWT, but it doesn't seem to allow Custom Fields to be adjusted in the Update Fields (JWT) post function.

In the built-in "Update Issue Custom Field" post function, I can choose my "Reviewer" field as the value to change, but I can't figure out how to set it based on the issue's Reporter. 

Is there a guide somewhere about the way to access values of jira fields? I think I should be able to do something like `issue.reporter`, but haven't found any documentation.

1 answer

1 accepted

1 vote
Answer accepted
John Funk Community Leader Dec 31, 2019

Hi Kayla,

You are probably not going to be able to do that with out of the box Jira. We use both JMWE (Jira Miscellaneous Workflow Extensions) and Automation For Jira to handle those types of updates. 

Thank you @John Funk , installing Automation for Jira allowed me to quickly set that rule up. I created a rule for:

* When: Issue Created
* Issue Fields Condition: if the field "Reviewer" is empty
* Then: Edit Issue Fields: selected the field "Reviewer" and chose the "Copy From" option and picked "Reporter"

That fixed my issue! 

John Funk Community Leader Dec 31, 2019

Great! And they have wonderful support if you run into any problems also.  :-)

Like kayla likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,367 views 22 32
Read article

Community Events

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

Events near you