Forums

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

Add reporter also on another field automatically

Graciela Persch Severo August 9, 2019

Hey all,

I have a very specific request from our IT Sec department, they have two mail handlers with different email address, but one of the issues created by one of these emails are not supposed to be public for the Reporter and the other should be. The issue types of both are different. The permission scheme for this project (see below) doesn't allow the reporter to see any issues they created.PermissionScheme.JPG

We use a custom field called "Visible for" (a user picker) which allows users to see issues even if they are not on any project role. 

I wanted to do something on the Workflow that could automatically add the reporter on this "Visible for" field, since they are different issue types and have different workflows. I only see this option here to allow access to the reporter, can anyone else think of another?

I guess my best chance is doing something on the create issue transition.

Any ideas? :)

Thanks in advance!

Graci

1 answer

0 votes
Gael MOtte (JCDecaux)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2019

Hi @Graciela Persch Severo 

Assuming you cloud, there is post function named : "COPY VALUE FROM OTHER FIELD" which you guessed right could be used in create transition.

If you are on server and JSU is a possibility, you could use this post function : https://confluence-apps.beecom.ch/display/JSU/Copy+Value+From+Other+Field+Post-Function

Otherwise, there are quite a few add-ons that could do the job (Automation, script runner, JSU, Misc workflow extensions, and i guess i missed a lot of them)

Cheers

Graciela Persch Severo August 9, 2019

Hi Gael! Thank you for the answer :)

We only have Script runner on our Jira instance (server) and we cannot install other plugins :( (performance issues).

Your answer gave me some other places to look, tho. I'm checking a way to do that using script runner in transitions, but, so far, I only found things to copy values of certain issue types, not from field to field and not on transitions.

I'll also try some groovy script to run there, although I have no experience with groovy +.+

 

The post functions we currently have:  (Jira server 7.2.12 :S)Scripts.JPG

Suggest an answer

Log in or Sign up to answer