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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Adding request participants automatically to new request

Dear all,

I would like to add automatically a person to "Request participants" when a new request is created.

I tried to use the automation function by creating a rule: WHEN Issue created THEN Edit issue. This doesn't work since the possible field options for "Edit Issue" do not include "Request participants". So that I could select "Request participants" instead of "Assignee" as this screenshot shows.
image.png

I would like to know how I can either add "Request participants" as an option for "Edit Issue" or if there is another way to achieve my goal? The other related questions I have found here, couldn't help me further.

Thank you!

4 answers

1 accepted

1 vote
Answer accepted
Andy Heinzer Atlassian Team Oct 03, 2017

Hi Wolfgang,

I understand you are wanting to automatically add a user to the request participants when an issue is created in Jira Service Desk.  I am afraid this is not something that Service Desk can do natively at this time.  There is an open feature request for this ability in https://jira.atlassian.com/browse/JSDSERVER-1530  I would recommend voting/watching that feature request for updates on this.  

The interesting part is that this feature request does list a workaround KB that explains how this could be done with either of two 3rd party plugins for Jira.  Please see the KB How to automatically add request participants when creating an issue

I hope this helps.

Thank you for your answer, Andrew. It helps a lot. Thanks again.

The method specified in the KB article does not actually write the change to the database, effectively making it useless.

Andy Heinzer Atlassian Team Mar 30, 2020

Hi @Sam,

I have every expectation that the work-around in the KB are still valid, but that said these were created a few years ago, so perhaps something has changed since then. 

Could you tell me more about your environment and what you are seeing here?  Are you using Jira Cloud or Jira Server?  If Jira Server, what version are you using of Jira and Jira Service Desk?

Were you following the scriptrunner method, or the automation for Jira method?

Andy

Hi Wolfgang,

I'm guessing you've solved this by now but just in case I wanted to let you know that the Power Scripts add-on can also do this.

There is a video walking you through it step by step here.

Hello,

What you can do is create a custom field A (for example) that the user can fill and through the workflow, on request creation, copy the value from custom field A to the request participant field and make sure you set up permissions and notification for that field.

Regards,

@Stefan_Saikalywhat do you mean by "set up permissions and notification for that field". Were you able to implement this solution for yourself? did that work?

Hello,

Yes, since people complained about using the Share button cause it creates a two step work.

We created a field, and copied its value to the request participant field.

As for permissions, you need to add the request participants in the permission scheme in order for them to be able to see the request and the notification scheme in order to get notifications when they are added to the request.

Regards,

I am trying this solution and the values from that custom field just wont get copied to the request participants?! Actually I am using Automation for Jira and trying smart value to copy the values.

Can you explain to me in detail how you are attempting to do it?

1. it is a create issue trigger

2. I check if the custom field is not empty

3. I edit the issue, 'request participants' -> {{issue.fields.customfield.value}}

no errors, but it just wont copy.

Alright, so the way to do it if you read carefully, is on the CREATE TRANSITION in the WORKFLOW, so between CREATE and the next status, click on the transition and choose POST FUNCTION. Inside, click ADD POST FUNCTION, and inside choose COPY VALUE FROM OTHER FIELD. Inside, you choose the custom field and then the destination field, in your case the request participants.

Got it, thank you.

 

Like Stefan_Saikaly likes this

hi stefan,

would you know how to achieve this using jira cloud?

post function is not available in jira cloud.

thanks. 

Hello,

Unfortunately I never worked Jira cloud yet. but maybe this URL can help you out?

https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html

 

@AgentThe post function is available in cloud as well. I am on cloud and I was able to use post function.

@RamR 

please bear with me. 
can you share how you got it to work in your environment? 
i added the custom field CC in the request types. tried to "edit workflow" but no post function available.
went to workflows but nothing's active. im not sure what workflow is being used by the request type. 

image.png

image.png

@Agent you should generally see a default work flow under Active. In this case, try looking under the 'Inactive' (click on it and it will expand) and you should assign it to an issue type. If not you need to create a new work flow (look for a create option on that page) and assign it to an issue type. 

Once you have assigned a workflow to an issue type, try editing (preferably in the diagram mode) and look for various transition items including post functions.

thanks my issue has been fixed ..

 

 

Suggest an answer

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

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

182 views 1 6
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