Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Jira Cloud: GET and CREATE Team with script

 
1
0
-1

Hello. I am working with Jira Cloud and I need to synchronise the Team field(as I understand this field is from Portfolio, also it`s locked in the configuration menu). Customers want it to be dynamic: when we add new Team to another project(on the ADO side) and this new Team is added to a synchronised issue we should be able to fetch all Teams on Jira side to search for new Team and if script can`t find new Team it should add it to Jira.
I tried some API requests (like GET /rest/api/3/field/{fieldId}/context/{contextId}/option)but they don`t work. How can I do this?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Please reference the following article to review the scrip details:
      https://docs.idalko.com/exalate/x/iQR1Aw
      and let mw know if it's  helpful.



        CommentAdd your comment...