Forums

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

Setting the assigned user based on the user property

Phillip Campbell April 23, 2018

I have some integrations with built using Scriptrunner and some other JIRA tools. I currently have a external tool creating new issues and then storing JSON key/values using issue properties. 

One of the key/value pairs I return is the samAccount from my Active directory. This is because the systems I am integrating with JIRA authenticate in different ways.


What I want to do is:

  • Create a new JIRA issue using the REST API (I can do this already)
  • Set/Update the issue.properties to include all of the external system key/value pairs including the samAccount key/value  (I can do this already)
  • Find the JIRA user with the user property that equals the samAccount key/value (This part does not work)
  • Update the assignee based on the user found (I have not got to this part yet)

 

Any suggestions would help.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events